summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-02-22 14:11:28 +0000
committerJim Blandy <jimb@redhat.com>1993-02-22 14:11:28 +0000
commit73ba47ef913213c160b44fe2bb0d21d5c742914e (patch)
treef18a8ded994f23fc7274812702ac18d1a1f5c28e /Makefile.in
parentcd9776cccc63bb6ee8722a4a6d3f681a5241a73e (diff)
downloademacs-73ba47ef913213c160b44fe2bb0d21d5c742914e.tar.gz
* 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.
Diffstat (limited to 'Makefile.in')
-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=.
# versions of Emacs will install themselves in separate directories.
lispdir=${datadir}/emacs/${version}/lisp
+# Where to install the elisp files which are distributed with Emacs
+# but not maintained by the FSF. This includes the Emacs version, so
+# that the lisp files for different versions of Emacs will install
+# themselves in separate directories.
+externallispdir=${datadir}/emacs/${version}/external-lisp
+
# Directories Emacs should search for elisp files specific to this
# site (i.e. customizations), before consulting ${lispdir}. This
# should be a colon-separated list of directories.
-locallisppath=${datadir}/emacs/local-lisp
+locallisppath=${datadir}/emacs/site-lisp
# Where Emacs will search to find its elisp files. Before changing
# this, check to see if your purpose wouldn't better be served by
# changing locallisppath. This should be a colon-separated list of
# directories.
-lisppath=${locallisppath}:${lispdir}
+lisppath=${locallisppath}:${lispdir}:${externallispdir}
# Where Emacs will search for its elisp files while building. This is
# only used during the process of compiling Emacs, to help Emacs find
@@ -176,8 +182,8 @@ SUBDIR_MAKEFILES = lib-src/Makefile src/Makefile
# When installing the info files, we need to do special things to
# avoid nuking an existing dir file, so we don't do that here;
# instead, we have written out explicit code in the `install' targets.
-COPYDIR = etc ${srcdir}/lisp
-COPYDESTS = ${etcdir} ${lispdir}
+COPYDIR = etc ${srcdir}/lisp ${srcdir}/external-lisp
+COPYDESTS = ${etcdir} ${lispdir} ${externallispdir}
all: src/paths.h ${SUBDIR}
@@ -206,7 +212,7 @@ src: lib-src
${SUBDIR}: ${SUBDIR_MAKEFILES} FRC
cd $@; $(MAKE) all ${MFLAGS} \
- CC='${CC}' CFLAGS='${CFLAGS}' \
+ CC='${CC}' CONFIG_CFLAGS='${CONFIG_CFLAGS}' \
srcdir='${srcdir}/$@' libdir='${libdir}'
## We build the makefiles for the subdirectories here so that we can