aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1993-02-22 14:11:28 +0000
committerJim Blandy1993-02-22 14:11:28 +0000
commitec054e3328d3ac67fb36de0b9cd91b3da07375da (patch)
treeb4b4ce55d98b717947ce345e739f428dcbde3309
parent35a37ee74e646f11215f980b0b2d531455cfbfac (diff)
downloademacs-ec054e3328d3ac67fb36de0b9cd91b3da07375da.tar.gz
emacs-ec054e3328d3ac67fb36de0b9cd91b3da07375da.zip
* 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.
-rw-r--r--Makefile.in16
1 files changed, 11 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 5e61e907a8d..06b90c31e04 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -111,16 +111,22 @@ srcdir=.
111# versions of Emacs will install themselves in separate directories. 111# versions of Emacs will install themselves in separate directories.
112lispdir=${datadir}/emacs/${version}/lisp 112lispdir=${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.
118externallispdir=${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.
117locallisppath=${datadir}/emacs/local-lisp 123locallisppath=${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.
123lisppath=${locallisppath}:${lispdir} 129lisppath=${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
@@ -176,8 +182,8 @@ SUBDIR_MAKEFILES = lib-src/Makefile src/Makefile
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.
179COPYDIR = etc ${srcdir}/lisp 185COPYDIR = etc ${srcdir}/lisp ${srcdir}/external-lisp
180COPYDESTS = ${etcdir} ${lispdir} 186COPYDESTS = ${etcdir} ${lispdir} ${externallispdir}
181 187
182all: src/paths.h ${SUBDIR} 188all: src/paths.h ${SUBDIR}
183 189
@@ -206,7 +212,7 @@ src: lib-src
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