Mercurial > emacs
comparison lib-src/Makefile.in @ 4800:d41c009d6ac6
(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.
author | Brian Fox <bfox@gnu.org> |
---|---|
date | Tue, 28 Sep 1993 10:04:53 +0000 |
parents | 3b32fb537ba5 |
children | 5a3769d017ca |
comparison
equal
deleted
inserted
replaced
4799:6af5540f4e4e | 4800:d41c009d6ac6 |
---|---|
10 | 10 |
11 # Avoid trouble on systems where the `SHELL' variable might be | 11 # Avoid trouble on systems where the `SHELL' variable might be |
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 | 33 prefix=@prefix@ |
34 # Like `prefix', but used for architecture-specific files. | 34 |
35 exec_prefix=${prefix} | 35 # Like `prefix', but used for architecture-specific files. This is |
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'. |
45 | 48 libdir=@libdir@ |
46 # Where to find the source code. This is | 49 |
47 # set by the configure script's `--srcdir' option. | 50 # Where to find the source code. This is set by the configure |
48 # However, the value of ${srcdir} in this makefile | 51 # script's `--srcdir' option. However, the value of ${srcdir} in |
49 # is not identical to what was specified with --srcdir. | 52 # this makefile is not identical to what was specified with --srcdir, |
50 # The variable here has `/lib-src' added at the end. | 53 # since the variable here has `/lib-src' added at the end. |
51 srcdir=@srcdir@/lib-src | 54 srcdir=@srcdir@ |
52 VPATH=@srcdir@/lib-src | 55 VPATH=@srcdir@ |
53 | 56 |
54 # ==================== Emacs-specific directories ==================== | 57 # ==================== Emacs-specific directories ==================== |
55 | 58 |
56 # These variables hold the values Emacs will actually use. They are | 59 # These variables hold the values Emacs will actually use. They are |
57 # based on the values of the standard Make variables above. | 60 # based on the values of the standard Make variables above. |
58 | 61 |
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 |
85 # Things that a user might actually run, which should be installed in bindir. | 79 # Things that a user might actually run, which should be installed in bindir. |
86 INSTALLABLES = etags ctags emacsclient b2m | 80 INSTALLABLES = etags ctags emacsclient b2m |
121 ${archlibdir}: all | 115 ${archlibdir}: all |
122 @echo | 116 @echo |
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 |
136 @echo "Changing the owner and group of Emacs's utility programs to \`bin'." | 126 @echo "Changing the owner and group of Emacs's utility programs to \`bin'." |
137 @echo "(You may ignore errors here if you don't care about this.)" | 127 @echo "(You may ignore errors here if you don't care about this.)" |