emacs-diffs
[Top][All Lists]
Advanced

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

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


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

Index: emacs/Makefile.in
diff -u emacs/Makefile.in:1.243 emacs/Makefile.in:1.244
--- emacs/Makefile.in:1.243     Tue Nov 13 04:39:55 2001
+++ emacs/Makefile.in   Thu Nov 15 15:33:21 2001
@@ -202,8 +202,12 @@
 
 # ============================= Targets ==============================
 
+# Program name transformation.
+TRANSFORM = @program_transform_name@
+
 # What emacs should be called when installed.
-EMACS = emacs
+EMACS = `echo emacs | sed '$(TRANSFORM)'`
+EMACSFULL = `echo emacs-${version} | sed '$(TRANSFORM)'`
 
 # Subdirectories to make recursively.  `lisp' is not included
 # because the compiled lisp files are part of the distribution
@@ -331,10 +335,10 @@
            exec_prefix=${exec_prefix} bindir=${bindir} \
            libexecdir=${libexecdir} archlibdir=${archlibdir} \
            INSTALL_STRIP=${INSTALL_STRIP})
-       ${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs ${bindir}/emacs-${version}
-       -chmod 1755  ${bindir}/emacs-${version}
+       ${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs ${bindir}/${EMACSFULL}
+       -chmod 1755  ${bindir}/$(EMACSFULL)
        rm -f ${bindir}/$(EMACS)
-       -ln ${bindir}/emacs-${version} ${bindir}/$(EMACS)
+       -ln ${bindir}/$(EMACSFULL) ${bindir}/$(EMACS)
        -unset CDPATH; \
        for f in `cd lib-src && echo fns-*.el`; do \
          if test -r lib-src/$$f ; then \



reply via email to

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