summaryrefslogtreecommitdiff
path: root/lib-src/Makefile.in
diff options
context:
space:
mode:
authorBrian Fox <bfox@gnu.org>1993-09-28 10:04:53 +0000
committerBrian Fox <bfox@gnu.org>1993-09-28 10:04:53 +0000
commitb93f24930d6aaf7f4ad39ef15538eaadc0031c02 (patch)
tree61f8a76a3536709df7bee39b5344fbbf3df1080c /lib-src/Makefile.in
parentf05ddc05260885fb22d48e81b3444a18ac82e2f1 (diff)
downloademacs-b93f24930d6aaf7f4ad39ef15538eaadc0031c02.tar.gz
(INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
correct values for these variables. (archlibdir): Only install execuatables internally used by emacs; don't install bindir binaries here.
Diffstat (limited to 'lib-src/Makefile.in')
-rw-r--r--lib-src/Makefile.in84
1 files changed, 37 insertions, 47 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 4f6aade8192..426c1f3c5d5 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -12,44 +12,47 @@
# inherited from the environment.
SHELL = /bin/sh
-# ==================== Things `configure' might edit ====================
+# ==================== Things `configure' will edit ====================
-CC=cc
-CFLAGS=-g
-ALLOCA=
-C_SWITCH_SYSTEM=
-LOADLIBES=
-YACC=yacc
-version=version-not-set
-configname=configuration-name-not-set
+CC=@CC@
+CFLAGS=@CFLAGS@
+ALLOCA=@ALLOCA@
+C_SWITCH_SYSTEM=@c_switch_system@
+LOADLIBES=@libsrc_libs@
+YACC=@YACC@
+version=@version@
+configname=@configuration@
# ==================== Where To Install Things ====================
# The default location for installation. Everything is placed in
# subdirectories of this directory. The default values for many of
# the variables below are expressed in terms of this one, so you may
-# not need to change them.
-prefix=/usr/local
+# not need to change them. This is set with the --prefix option to
+@ `../configure'.
+prefix=@prefix@
-# Like `prefix', but used for architecture-specific files.
-exec_prefix=${prefix}
+# Like `prefix', but used for architecture-specific files. This is
+# set with the --exec-prefix option to `../configure'.
+exec_prefix=@exec_prefix@
# Where to install Emacs and other binaries that people will want to
-# run directly (like etags).
-bindir=${exec_prefix}/bin
+# run directly (like etags). This is set with the --bindir option
+# to `../configure'.
+bindir=@bindir@
# Where to install and expect executable files to be run by Emacs
# rather than directly by users, and other architecture-dependent
-# data. ${archlibdir} is usually below this.
-libdir=${exec_prefix}/lib
+# data. ${archlibdir} is usually below this. This is set with the
+# --libdir option to `../configure'.
+libdir=@libdir@
-# Where to find the source code. This is
-# set by the configure script's `--srcdir' option.
-# However, the value of ${srcdir} in this makefile
-# is not identical to what was specified with --srcdir.
-# The variable here has `/lib-src' added at the end.
-srcdir=@srcdir@/lib-src
-VPATH=@srcdir@/lib-src
+# Where to find the source code. This is set by the configure
+# script's `--srcdir' option. However, the value of ${srcdir} in
+# this makefile is not identical to what was specified with --srcdir,
+# since the variable here has `/lib-src' added at the end.
+srcdir=@srcdir@
+VPATH=@srcdir@
# ==================== Emacs-specific directories ====================
@@ -59,26 +62,17 @@ VPATH=@srcdir@/lib-src
# Where to put executables to be run by Emacs rather than the user.
# This path usually includes the Emacs version and configuration name,
# so that multiple configurations for multiple versions of Emacs may
-# be installed at once.
-archlibdir=${libdir}/emacs/${version}/${configname}
-
-# ====================== Developer's configuration =======================
-
-# The following assignments make sense if you're running Emacs on a single
-# machine, one version at a time, and you want changes to the lisp and etc
-# directories in the source tree to show up immediately in your working
-# environment. It saves a great deal of disk space by not duplicating the
-# lisp and etc directories.
-#
-# archlibdir=${srcdir}/bin
+# be installed at once. This can be set with the --archlibdir option
+# to `../configure'.
+archlibdir=@archlibdir@
# ==================== Utility Programs for the Build ====================
-# Allow the user to specify the install program.
-INSTALL = install
+@ ../configure figures out the correct values for these.
+INSTALL = @INSTALL@
INSTALLFLAGS = -c
-INSTALL_PROGRAM = ${INSTALL}
-INSTALL_DATA = ${INSTALL}
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
# ============================= Targets ==============================
@@ -123,13 +117,9 @@ ${archlibdir}: all
@echo "Installing utilities run internally by Emacs."
./make-path ${archlibdir}
if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
- for file in ${UTILITIES} ${INSTALLABLES}; do \
- cp $${file} ${archlibdir} ; \
- chmod 755 ${archlibdir}/$${file} ; \
- done ; \
- cd ${srcdir}; for file in ${SCRIPTS} ${INSTALLABLE_SCRIPTS}; do \
- cp $${file} ${archlibdir} ; \
- chmod 755 ${archlibdir}/$${file} ; \
+ for file in ${UTILITIES} ${SCRIPTS}; do \
+ $(INSTALL_PROGRAM) $$file ${archlibdir}/$$file ; \
+ chmod 755 ${archlibdir}/$$file ; \
done ; \
fi
@echo