# # ${RHOME}/src/library/profile/Makefile VPATH = @srcdir@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = ../../.. subdir = src/library/profile include $(top_builddir)/Makeconf distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) DISTFILES = Common.R Makefile.in Rprofile.mac Rprofile.unix Rprofile.win ## Configure (not yet): Replace `unix' by `win' or `mac' ## Should be EASY all: $(srcdir)/Common.R $(srcdir)/Rprofile.unix @echo "Building system startup profile" @cat $(srcdir)/Common.R $(srcdir)/Rprofile.unix \ > $(top_builddir)/library/base/R/Rprofile mostlyclean: clean clean: distclean: @rm -f Makefile maintainer-clean: distclean distdir: $(DISTFILES) @for f in $(DISTFILES); do \ test -f $(distdir)/$${f} \ || ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \ || cp -p $(srcdir)/$${f} $(distdir)/$${f}; \ done