]> git.eshelyaron.com Git - emacs.git/commitdiff
Installed [mark@mcs.vuw.ac.nz: use INSTALL_SCRIPT in lib-src] patch
authorRamprasad B <ramprasad_i82@yahoo.com>
Fri, 3 Nov 2006 14:10:50 +0000 (14:10 +0000)
committerRamprasad B <ramprasad_i82@yahoo.com>
Fri, 3 Nov 2006 14:10:50 +0000 (14:10 +0000)
lib-src/Makefile.in

index 4eb1658ac0a67969917fa8a34fbfa53a105221f8..75ab5e192d128f1e068e99d96a71f3de8968a811 100644 (file)
@@ -94,6 +94,7 @@ gameuser=@gameuser@
 INSTALL = @INSTALL@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
 # By default, we uphold the dignity of our programs.
 INSTALL_STRIP =
 
@@ -319,7 +320,7 @@ $(DESTDIR)${archlibdir}: all
         if [ `(cd $(DESTDIR)${archlibdir} && /bin/pwd)` \
              != `(cd ${srcdir} && /bin/pwd)` ]; then \
          for file in ${SCRIPTS}; do \
-           $(INSTALL_PROGRAM) ${srcdir}/$$file $(DESTDIR)${archlibdir}/$$file; \
+           $(INSTALL_SCRIPT) ${srcdir}/$$file $(DESTDIR)${archlibdir}/$$file; \
          done ; \
        fi
 
@@ -331,7 +332,7 @@ install: $(DESTDIR)${archlibdir}
          chmod a+rx $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \
        done
        for file in ${INSTALLABLE_SCRIPTS} ; do \
-         $(INSTALL_PROGRAM) ${srcdir}/$${file} $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'`  ; \
+         $(INSTALL_SCRIPT) ${srcdir}/$${file} $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'`  ; \
          chmod a+rx $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \
        done