comparison Makefile.in @ 1899:fb1b9a269763

* Makefile.in (${SUBDIR}): Pass CONFIG_CFLAGS to the submakes, not CFLAGS. * Makefile.in (locallisppath): Make this default to ${datadir}/emacs/site-lisp, instead of ${datadir}/emacs/local-lisp. ${datadir} and ${statedir} are often the same thing, and local-lisp causes completion conflicts with lock. (lisppath): Add ${externallispdir} to this. * INSTALL: Adjust installation directions. * Makefile.in (externallispdir): New variable, to say where to install the externally-maintained lisp files. (COPYDIR, COPYDESTS): Copy the external lisp directory just like the others. * INSTALL: Describe external-lisp and the new externallispdir variable.
author Jim Blandy <jimb@redhat.com>
date Mon, 22 Feb 1993 14:11:28 +0000
parents f7565191703b
children 0fe3520eb87b
comparison
equal deleted inserted replaced
1898:3aeb6e0c5bba 1899:fb1b9a269763
109 # Where to install the elisp files distributed with Emacs. This 109 # Where to install the elisp files distributed with Emacs. This
110 # includes the Emacs version, so that the lisp files for different 110 # includes the Emacs version, so that the lisp files for different
111 # versions of Emacs will install themselves in separate directories. 111 # versions of Emacs will install themselves in separate directories.
112 lispdir=${datadir}/emacs/${version}/lisp 112 lispdir=${datadir}/emacs/${version}/lisp
113 113
114 # Where to install the elisp files which are distributed with Emacs
115 # but not maintained by the FSF. This includes the Emacs version, so
116 # that the lisp files for different versions of Emacs will install
117 # themselves in separate directories.
118 externallispdir=${datadir}/emacs/${version}/external-lisp
119
114 # Directories Emacs should search for elisp files specific to this 120 # Directories Emacs should search for elisp files specific to this
115 # site (i.e. customizations), before consulting ${lispdir}. This 121 # site (i.e. customizations), before consulting ${lispdir}. This
116 # should be a colon-separated list of directories. 122 # should be a colon-separated list of directories.
117 locallisppath=${datadir}/emacs/local-lisp 123 locallisppath=${datadir}/emacs/site-lisp
118 124
119 # Where Emacs will search to find its elisp files. Before changing 125 # Where Emacs will search to find its elisp files. Before changing
120 # this, check to see if your purpose wouldn't better be served by 126 # this, check to see if your purpose wouldn't better be served by
121 # changing locallisppath. This should be a colon-separated list of 127 # changing locallisppath. This should be a colon-separated list of
122 # directories. 128 # directories.
123 lisppath=${locallisppath}:${lispdir} 129 lisppath=${locallisppath}:${lispdir}:${externallispdir}
124 130
125 # Where Emacs will search for its elisp files while building. This is 131 # Where Emacs will search for its elisp files while building. This is
126 # only used during the process of compiling Emacs, to help Emacs find 132 # only used during the process of compiling Emacs, to help Emacs find
127 # its lisp files before they've been installed in their final 133 # its lisp files before they've been installed in their final
128 # location. It's usually identical to lisppath, except that the entry 134 # location. It's usually identical to lisppath, except that the entry
174 # Subdirectories to install, and where they'll go. 180 # Subdirectories to install, and where they'll go.
175 # lib-src's makefile knows how to install it, so we don't do that here. 181 # lib-src's makefile knows how to install it, so we don't do that here.
176 # When installing the info files, we need to do special things to 182 # When installing the info files, we need to do special things to
177 # avoid nuking an existing dir file, so we don't do that here; 183 # avoid nuking an existing dir file, so we don't do that here;
178 # instead, we have written out explicit code in the `install' targets. 184 # instead, we have written out explicit code in the `install' targets.
179 COPYDIR = etc ${srcdir}/lisp 185 COPYDIR = etc ${srcdir}/lisp ${srcdir}/external-lisp
180 COPYDESTS = ${etcdir} ${lispdir} 186 COPYDESTS = ${etcdir} ${lispdir} ${externallispdir}
181 187
182 all: src/paths.h ${SUBDIR} 188 all: src/paths.h ${SUBDIR}
183 189
184 removenullpaths=sed -e 's/^://' -e 's/:$$//' -e 's/::/:/' 190 removenullpaths=sed -e 's/^://' -e 's/:$$//' -e 's/::/:/'
185 191
204 210
205 .RECURSIVE: ${SUBDIR} 211 .RECURSIVE: ${SUBDIR}
206 212
207 ${SUBDIR}: ${SUBDIR_MAKEFILES} FRC 213 ${SUBDIR}: ${SUBDIR_MAKEFILES} FRC
208 cd $@; $(MAKE) all ${MFLAGS} \ 214 cd $@; $(MAKE) all ${MFLAGS} \
209 CC='${CC}' CFLAGS='${CFLAGS}' \ 215 CC='${CC}' CONFIG_CFLAGS='${CONFIG_CFLAGS}' \
210 srcdir='${srcdir}/$@' libdir='${libdir}' 216 srcdir='${srcdir}/$@' libdir='${libdir}'
211 217
212 ## We build the makefiles for the subdirectories here so that we can 218 ## We build the makefiles for the subdirectories here so that we can
213 ## edit the values for the path variables into them. This means that 219 ## edit the values for the path variables into them. This means that
214 ## when the user has built them from this makefile once, they will use 220 ## when the user has built them from this makefile once, they will use