From ec054e3328d3ac67fb36de0b9cd91b3da07375da Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Mon, 22 Feb 1993 14:11:28 +0000 Subject: [PATCH] * 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. --- Makefile.in | 16 +++++++++++----- 1 file 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