changeset 4802:5a3769d017ca

(${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not from current directory. Only chmod and chgrp files that we installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in ${bindir}. (INSTALLFLAGS): Deleted definition, since it is an unused variable now.
author Brian Fox <bfox@gnu.org>
date Thu, 30 Sep 1993 23:25:30 +0000
parents 176add5e2e47
children ce4372eaa443
files lib-src/Makefile.in
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/Makefile.in	Thu Sep 30 23:11:45 1993 +0000
+++ b/lib-src/Makefile.in	Thu Sep 30 23:25:30 1993 +0000
@@ -70,7 +70,6 @@
 
 @ ../configure figures out the correct values for these.
 INSTALL = @INSTALL@
-INSTALLFLAGS = -c
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA = @INSTALL_DATA@
 
@@ -117,7 +116,11 @@
 	@echo "Installing utilities run internally by Emacs."
 	./make-path ${archlibdir}
 	if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
-	  for file in ${UTILITIES} ${SCRIPTS}; do \
+	  for file in ${UTILITIES}; do \
+	    $(INSTALL_PROGRAM) $$file ${archlibdir}/$$file ; \
+	    chmod 755 ${archlibdir}/$$file ; \
+	  done ; \
+	  for file in ${SCRIPTS}; do \
 	    $(INSTALL_PROGRAM) $$file ${archlibdir}/$$file ; \
 	    chmod 755 ${archlibdir}/$$file ; \
 	  done ; \
@@ -125,7 +128,7 @@
 	@echo
 	@echo "Changing the owner and group of Emacs's utility programs to \`bin'."
 	@echo "(You may ignore errors here if you don't care about this.)"
-	-for file in ${EXECUTABLES} ; do \
+	-for file in ${UTILITIES} ${SCRIPTS} ; do \
 	  chgrp bin ${archlibdir}/$${file} ; \
 	  chown bin ${archlibdir}/$${file} ; \
 	done