]> git.eshelyaron.com Git - emacs.git/commitdiff
(${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not from current
authorBrian Fox <bfox@gnu.org>
Thu, 30 Sep 1993 23:25:30 +0000 (23:25 +0000)
committerBrian Fox <bfox@gnu.org>
Thu, 30 Sep 1993 23:25:30 +0000 (23:25 +0000)
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.

lib-src/Makefile.in

index 426c1f3c5d5c253c78059d9e165d30d5882e7dc1..1ac1f9aa9ebbfee644e3a89c06bd27b04d561f5f 100644 (file)
@@ -70,7 +70,6 @@ archlibdir=@archlibdir@
 
 @ ../configure figures out the correct values for these.
 INSTALL = @INSTALL@
-INSTALLFLAGS = -c
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA = @INSTALL_DATA@
 
@@ -117,7 +116,11 @@ ${archlibdir}: all
        @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 @@ ${archlibdir}: all
        @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