diff options
| author | Brian Fox | 1993-09-28 10:04:53 +0000 |
|---|---|---|
| committer | Brian Fox | 1993-09-28 10:04:53 +0000 |
| commit | b93f24930d6aaf7f4ad39ef15538eaadc0031c02 (patch) | |
| tree | 61f8a76a3536709df7bee39b5344fbbf3df1080c /lib-src | |
| parent | f05ddc05260885fb22d48e81b3444a18ac82e2f1 (diff) | |
| download | emacs-b93f24930d6aaf7f4ad39ef15538eaadc0031c02.tar.gz emacs-b93f24930d6aaf7f4ad39ef15538eaadc0031c02.zip | |
(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')
| -rw-r--r-- | lib-src/Makefile.in | 84 |
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 @@ | |||
| 12 | # inherited from the environment. | 12 | # inherited from the environment. |
| 13 | SHELL = /bin/sh | 13 | SHELL = /bin/sh |
| 14 | 14 | ||
| 15 | # ==================== Things `configure' might edit ==================== | 15 | # ==================== Things `configure' will edit ==================== |
| 16 | 16 | ||
| 17 | CC=cc | 17 | CC=@CC@ |
| 18 | CFLAGS=-g | 18 | CFLAGS=@CFLAGS@ |
| 19 | ALLOCA= | 19 | ALLOCA=@ALLOCA@ |
| 20 | C_SWITCH_SYSTEM= | 20 | C_SWITCH_SYSTEM=@c_switch_system@ |
| 21 | LOADLIBES= | 21 | LOADLIBES=@libsrc_libs@ |
| 22 | YACC=yacc | 22 | YACC=@YACC@ |
| 23 | version=version-not-set | 23 | version=@version@ |
| 24 | configname=configuration-name-not-set | 24 | configname=@configuration@ |
| 25 | 25 | ||
| 26 | # ==================== Where To Install Things ==================== | 26 | # ==================== Where To Install Things ==================== |
| 27 | 27 | ||
| 28 | # The default location for installation. Everything is placed in | 28 | # The default location for installation. Everything is placed in |
| 29 | # subdirectories of this directory. The default values for many of | 29 | # subdirectories of this directory. The default values for many of |
| 30 | # the variables below are expressed in terms of this one, so you may | 30 | # the variables below are expressed in terms of this one, so you may |
| 31 | # not need to change them. | 31 | # not need to change them. This is set with the --prefix option to |
| 32 | prefix=/usr/local | 32 | @ `../configure'. |
| 33 | prefix=@prefix@ | ||
| 33 | 34 | ||
| 34 | # Like `prefix', but used for architecture-specific files. | 35 | # Like `prefix', but used for architecture-specific files. This is |
| 35 | exec_prefix=${prefix} | 36 | # set with the --exec-prefix option to `../configure'. |
| 37 | exec_prefix=@exec_prefix@ | ||
| 36 | 38 | ||
| 37 | # Where to install Emacs and other binaries that people will want to | 39 | # Where to install Emacs and other binaries that people will want to |
| 38 | # run directly (like etags). | 40 | # run directly (like etags). This is set with the --bindir option |
| 39 | bindir=${exec_prefix}/bin | 41 | # to `../configure'. |
| 42 | bindir=@bindir@ | ||
| 40 | 43 | ||
| 41 | # Where to install and expect executable files to be run by Emacs | 44 | # Where to install and expect executable files to be run by Emacs |
| 42 | # rather than directly by users, and other architecture-dependent | 45 | # rather than directly by users, and other architecture-dependent |
| 43 | # data. ${archlibdir} is usually below this. | 46 | # data. ${archlibdir} is usually below this. This is set with the |
| 44 | libdir=${exec_prefix}/lib | 47 | # --libdir option to `../configure'. |
| 48 | libdir=@libdir@ | ||
| 45 | 49 | ||
| 46 | # Where to find the source code. This is | 50 | # Where to find the source code. This is set by the configure |
| 47 | # set by the configure script's `--srcdir' option. | 51 | # script's `--srcdir' option. However, the value of ${srcdir} in |
| 48 | # However, the value of ${srcdir} in this makefile | 52 | # this makefile is not identical to what was specified with --srcdir, |
| 49 | # is not identical to what was specified with --srcdir. | 53 | # since the variable here has `/lib-src' added at the end. |
| 50 | # The variable here has `/lib-src' added at the end. | 54 | srcdir=@srcdir@ |
| 51 | srcdir=@srcdir@/lib-src | 55 | VPATH=@srcdir@ |
| 52 | VPATH=@srcdir@/lib-src | ||
| 53 | 56 | ||
| 54 | # ==================== Emacs-specific directories ==================== | 57 | # ==================== Emacs-specific directories ==================== |
| 55 | 58 | ||
| @@ -59,26 +62,17 @@ VPATH=@srcdir@/lib-src | |||
| 59 | # Where to put executables to be run by Emacs rather than the user. | 62 | # Where to put executables to be run by Emacs rather than the user. |
| 60 | # This path usually includes the Emacs version and configuration name, | 63 | # This path usually includes the Emacs version and configuration name, |
| 61 | # so that multiple configurations for multiple versions of Emacs may | 64 | # so that multiple configurations for multiple versions of Emacs may |
| 62 | # be installed at once. | 65 | # be installed at once. This can be set with the --archlibdir option |
| 63 | archlibdir=${libdir}/emacs/${version}/${configname} | 66 | # to `../configure'. |
| 64 | 67 | archlibdir=@archlibdir@ | |
| 65 | # ====================== Developer's configuration ======================= | ||
| 66 | |||
| 67 | # The following assignments make sense if you're running Emacs on a single | ||
| 68 | # machine, one version at a time, and you want changes to the lisp and etc | ||
| 69 | # directories in the source tree to show up immediately in your working | ||
| 70 | # environment. It saves a great deal of disk space by not duplicating the | ||
| 71 | # lisp and etc directories. | ||
| 72 | # | ||
| 73 | # archlibdir=${srcdir}/bin | ||
| 74 | 68 | ||
| 75 | # ==================== Utility Programs for the Build ==================== | 69 | # ==================== Utility Programs for the Build ==================== |
| 76 | 70 | ||
| 77 | # Allow the user to specify the install program. | 71 | @ ../configure figures out the correct values for these. |
| 78 | INSTALL = install | 72 | INSTALL = @INSTALL@ |
| 79 | INSTALLFLAGS = -c | 73 | INSTALLFLAGS = -c |
| 80 | INSTALL_PROGRAM = ${INSTALL} | 74 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| 81 | INSTALL_DATA = ${INSTALL} | 75 | INSTALL_DATA = @INSTALL_DATA@ |
| 82 | 76 | ||
| 83 | # ============================= Targets ============================== | 77 | # ============================= Targets ============================== |
| 84 | 78 | ||
| @@ -123,13 +117,9 @@ ${archlibdir}: all | |||
| 123 | @echo "Installing utilities run internally by Emacs." | 117 | @echo "Installing utilities run internally by Emacs." |
| 124 | ./make-path ${archlibdir} | 118 | ./make-path ${archlibdir} |
| 125 | if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ | 119 | if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ |
| 126 | for file in ${UTILITIES} ${INSTALLABLES}; do \ | 120 | for file in ${UTILITIES} ${SCRIPTS}; do \ |
| 127 | cp $${file} ${archlibdir} ; \ | 121 | $(INSTALL_PROGRAM) $$file ${archlibdir}/$$file ; \ |
| 128 | chmod 755 ${archlibdir}/$${file} ; \ | 122 | chmod 755 ${archlibdir}/$$file ; \ |
| 129 | done ; \ | ||
| 130 | cd ${srcdir}; for file in ${SCRIPTS} ${INSTALLABLE_SCRIPTS}; do \ | ||
| 131 | cp $${file} ${archlibdir} ; \ | ||
| 132 | chmod 755 ${archlibdir}/$${file} ; \ | ||
| 133 | done ; \ | 123 | done ; \ |
| 134 | fi | 124 | fi |
| 135 | @echo | 125 | @echo |