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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
INSTALL_SCRIPT during installation (PR#526)
2 messages · lamj@stat.cmu.edu, Kurt Hornik
lamj writes:
The following patch uses INSTALL_SCRIPT to install scripts, as opposed to directly using INSTALL. It is relative to R-1.0.1 source.
I am not sure this is really a bug, and the changes are already in 1.1.0 anyway. If someone is willing to make the change in 1.0.1, please note: the changes in Makeconf.in and src/scripts/Makefile.in are fine. The one in Makefile.in is not, because 1.1.0 has GUI shared libs as well, which need INSTALL rather than INSTALL_SCRIPT. I think one can get that right via `grep -v '^bin/R_''. Hmm ... -k
-- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._