emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lib-src/Makefile.in


From: Pavel Janík
Subject: [Emacs-diffs] Changes to emacs/lib-src/Makefile.in
Date: Thu, 15 Nov 2001 15:37:20 -0500

Index: emacs/lib-src/Makefile.in
diff -u emacs/lib-src/Makefile.in:1.121 emacs/lib-src/Makefile.in:1.122
--- emacs/lib-src/Makefile.in:1.121     Wed Oct 24 18:54:38 2001
+++ emacs/lib-src/Makefile.in   Thu Nov 15 15:37:20 2001
@@ -31,6 +31,9 @@
 address@hidden@
 address@hidden@
 
+# Program name transformation.
+TRANSFORM = @program_transform_name@
+
 # ==================== Where To Install Things ====================
 
 # The default location for installation.  Everything is placed in
@@ -296,17 +299,19 @@
        @echo
        @echo "Installing utilities for users to run."
        for file in ${INSTALLABLES} ; do \
-         $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} ${bindir}/$${file} ; \
-         chmod a+rx ${bindir}/$${file}; \
+         $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} ${bindir}/`echo $${file} 
| sed '$(TRANSFORM)'` ; \
+         chmod a+rx ${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \
        done
        for file in ${INSTALLABLE_SCRIPTS} ; do \
-         $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file} ; \
-         chmod a+rx ${bindir}/$${file}; \
+         $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/`echo $${file} | sed 
'$(TRANSFORM)'`  ; \
+         chmod a+rx ${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \
        done
 
 uninstall:
        (cd ${bindir}; \
-        rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS})
+       for file in ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}; do \
+         rm -f ${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \
+       done)
        (cd ${archlibdir}; \
         rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS})
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]