diff options
author | Pavel Janík <Pavel@Janik.cz> | 2001-11-15 20:37:20 +0000 |
---|---|---|
committer | Pavel Janík <Pavel@Janik.cz> | 2001-11-15 20:37:20 +0000 |
commit | 88f17857e65923012fd87910e4aa63e248d62457 (patch) | |
tree | 5c85b78e0662d378bcc7b373eb36def403340c05 /Makefile.in | |
parent | fbee7422884a0b373edaacadce24ef3eda6a4f42 (diff) | |
download | emacs-88f17857e65923012fd87910e4aa63e248d62457.tar.gz |
Add support for --program-prefix, --program-suffix
and --program-transform-name options.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index d702c84efba..76072df1b33 100644 --- a/Makefile.in +++ b/Makefile.in @@ -202,8 +202,12 @@ INSTALL_STRIP = # ============================= 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 @@ install-arch-dep: mkdir 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 \ |