# # ${R_HOME}/src/library/base/Makefile VPATH = @srcdir@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = ../../.. subdir = src/library/base include $(top_builddir)/Makeconf distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) DISTFILES = INDEX TITLE Makefile.in all: Makefile @echo "building package \`base'" @$(MKINSTALLDIRS) $(top_builddir)/library/base/R @(f=/tmp/R$$$$; \ cat $(srcdir)/R/*.R $(srcdir)/R/unix/*.R >> $${f}; \ $(top_srcdir)/tools/move-if-change $${f} \ $(top_builddir)/library/base/R/base) @$(INSTALL_DATA) $(srcdir)/INDEX $(top_builddir)/library/base @$(INSTALL_DATA) $(srcdir)/TITLE $(top_builddir)/library/base @$(MKINSTALLDIRS) $(top_builddir)/library/base/data @for f in `ls -d $(srcdir)/data/* | sed '/data\/CVS/d'`; do \ $(INSTALL_DATA) $${f} $(top_builddir)/library/base/data; \ done Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @cd $(top_builddir) && \ CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \ $(SHELL) ./config.status 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 @for d in R data man; do \ if test -d $(srcdir)/$${d}; then \ ((cd $(srcdir); $(TAR) -c -f - --exclude=CVS $${d}) \ | (cd $(distdir); $(TAR) -x -f -)) \ || exit 1; \ fi; \ if test -d $(srcdir)/src; then \ ((cd $(srcdir); $(TAR) -c -f - $${d}/*[.cfh]) \ | (cd $(distdir); $(TAR) -x -f -)) \ || exit 1; \ fi; \ done