Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: tags/R-1-6-2
Fetching contributors…

Cannot retrieve contributors at this time

106 lines (91 sloc) 2.683 kb
#
# ${R_HOME}/share/Makefile
VPATH = @srcdir@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ..
subdir = share
include $(top_builddir)/Makeconf
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
DISTFILES = Makefile.in
## subdirectories of R_HOME/share
SUBDIRS_WITH_NO_BUILD = R glade make perl sh texmf
## subdirectories of R_HOME/share/perl
SUBDIRS_SHARE_PERL = R Text
GNOME_IF_FILES = @GNOME_IF_FILES@
all: Makefile R
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
R: FORCE
@if test "$(BUILDDIR_IS_SRCDIR)" = "no" ; then \
$(MAKE) rhome=$(top_builddir) install-sources; \
fi
FORCE:
docs:
install: install-message installdirs install-sources
installdirs:
@$(MKINSTALLDIRS) $(rhome)/share
@$(MKINSTALLDIRS) $(rhome)/share/R
@if test -n "$(GNOME_IF_FILES)"; then \
$(MKINSTALLDIRS) $(rhome)/share/glade; \
fi
@$(MKINSTALLDIRS) $(rhome)/share/make
@$(MKINSTALLDIRS) $(rhome)/share/perl
@for d in $(SUBDIRS_SHARE_PERL); do \
$(MKINSTALLDIRS) $(rhome)/share/perl/$${d}; \
done
@$(MKINSTALLDIRS) $(rhome)/share/sh
@$(MKINSTALLDIRS) $(rhome)/share/texmf
install-message:
@echo "installing share ..."
install-sources: installdirs
@for f in $(srcdir)/R/*.R; do \
$(INSTALL_DATA) $${f} $(rhome)/share/R; \
done
@if test -n "$(GNOME_IF_FILES)"; then \
for f in $(srcdir)/glade/*.glade; do \
$(INSTALL_DATA) $${f} $(rhome)/share/glade; \
done; \
fi
@for f in $(srcdir)/make/*.mk; do \
$(INSTALL_DATA) $${f} $(rhome)/share/make; \
done
@for d in $(SUBDIRS_SHARE_PERL); do \
for f in $(srcdir)/perl/$${d}/*.pm; do \
$(INSTALL_DATA) $${f} $(rhome)/share/perl/$${d}; \
done; \
done
@for f in $(srcdir)/perl/*.pl; do \
$(INSTALL_DATA) $${f} $(rhome)/share/perl; \
done
@for f in $(srcdir)/sh/*.sh; do \
$(INSTALL_DATA) $${f} $(rhome)/share/sh; \
done
@for f in $(srcdir)/texmf/*.sty \
$(srcdir)/texmf/*.cfg \
$(srcdir)/texmf/*.fd; do \
$(INSTALL_DATA) $${f} $(rhome)/share/texmf; \
done
install-strip: install
uninstall:
@echo "uninstalling share ..."
@rm -rf $(rhome)/share
mostlyclean:
clean:
@if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
rm -rf $(SUBDIRS_WITH_NO_BUILD); \
fi
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 $(SUBDIRS_WITH_NO_BUILD); do \
((cd $(srcdir); $(TAR) -c -f - --exclude=CVS $${d}) \
| (cd $(distdir); $(TAR) -x -f -)) \
|| exit 1; \
done
Jump to Line
Something went wrong with that request. Please try again.