Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: tags/R-1-2-3
Fetching contributors…

Cannot retrieve contributors at this time

80 lines (64 sloc) 1.738 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 = perl
## subdirectories of R_HOME/share/perl
SUBDIRS_PERL = R Text
all: Makefile R
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@cd $(top_builddir) && \
CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
$(SHELL) ./config.status
R:
@if [ "$(srcdir)" != "." ]; then \
$(MAKE) rhome=$(top_builddir) install-sources; \
fi
docs:
install: install-message installdirs install-sources
installdirs:
@$(MKINSTALLDIRS) $(rhome)/share
@$(MKINSTALLDIRS) $(rhome)/share/perl
@for d in $(SUBDIRS_PERL); do \
$(MKINSTALLDIRS) $(rhome)/share/perl/$${d}; \
done
install-message:
@echo "installing share ..."
install-sources: installdirs
@for d in $(SUBDIRS_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
install-strip: install
uninstall:
@echo "uninstalling share ..."
@rm -rf $(rhome)/share
mostlyclean:
clean:
@if [ "$(srcdir)" != "." ]; then \
rm -rf $(SUBDIRS); \
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
@((cd $(srcdir); \
$(TAR) -c -f - --exclude=CVS $(SUBDIRS)) \
| (cd $(distdir); $(TAR) -x -f -)) \
|| exit 1
Jump to Line
Something went wrong with that request. Please try again.