From lamj@stat.cmu.edu  Wed Apr 19 16:27:37 2000
From: lamj@stat.cmu.edu (lamj@stat.cmu.edu)
Date: Wed, 19 Apr 2000 17:27:37 +0200 (MET DST)
Subject: [Rd] INSTALL_SCRIPT during installation (PR#526)
Message-ID: <200004191527.RAA23531@pubhealth.ku.dk>

The following patch uses INSTALL_SCRIPT to install scripts, as opposed
to directly using INSTALL.  It is relative to R-1.0.1 source.

     -- Johnny C. Lam <lamj@stat.cmu.edu>
        Department of Statistics, Carnegie Mellon University
        http://www.stat.cmu.edu/~lamj/

--- Makeconf.in.orig	Sat Jan 22 15:10:00 2000
+++ Makeconf.in	Mon Apr 17 16:04:58 2000
@@ -23,6 +23,7 @@
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
 INSTALL_DIR = ${INSTALL} -d
 LATEX = @LATEX@
 LDCMD = @LDCMD@
--- Makefile.in.orig	Mon Feb 21 02:03:26 2000
+++ Makefile.in	Mon Apr 17 16:11:47 2000
@@ -74,7 +74,7 @@
 	@for f in `ls bin/* | grep -v '^bin/R\**$$' \
 	                    | grep -v '^bin/R.X11\**$$' \
 	                    | grep -v '^bin/R.GNOME\**$$'`; do \
-	  $(INSTALL) $${f} $(rhome)/bin; \
+	  $(INSTALL_SCRIPT) $${f} $(rhome)/bin; \
 	done
 	@echo "installing headers ..."
 	@for f in include/*.h; do \
--- src/scripts/Makefile.in.orig	Mon Feb 21 05:49:10 2000
+++ src/scripts/Makefile.in	Mon Apr 17 16:13:11 2000
@@ -38,10 +38,10 @@
 	  > $(top_builddir)/bin/R
 	@chmod +x $(top_builddir)/bin/R
 	@for f in $(SCRIPTS_S); do \
-	  $(INSTALL) $(srcdir)/$$f $(top_builddir)/bin; \
+	  $(INSTALL_SCRIPT) $(srcdir)/$$f $(top_builddir)/bin; \
 	done
 	@for f in $(SCRIPTS_B); do \
-	  $(INSTALL) $$f $(top_builddir)/bin; \
+	  $(INSTALL_SCRIPT) $$f $(top_builddir)/bin; \
 	done
 
 $(SCRIPTS_B): $(top_builddir)/config.status


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] INSTALL_SCRIPT during installation (PR#526)
lamj@stat.cmu.edu