aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-05-18 23:42:26 -0700
committerGlenn Morris2012-05-18 23:42:26 -0700
commit9192d37dc57541805091a01ab157c8b7ae38713b (patch)
tree6981fd1853af35e3ef2a4deee14966ce2cf77b5b
parent2e5d41e4a784c397889eee38ed8495513e10d6aa (diff)
downloademacs-9192d37dc57541805091a01ab157c8b7ae38713b.tar.gz
emacs-9192d37dc57541805091a01ab157c8b7ae38713b.zip
* Makefile.in (SUBDIR): Add leim. Update users.
-rw-r--r--ChangeLog2
-rw-r--r--Makefile.in27
2 files changed, 11 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
index 3934ab1000e..bfe905c1eff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
12012-05-19 Glenn Morris <rgm@gnu.org> 12012-05-19 Glenn Morris <rgm@gnu.org>
2 2
3 * Makefile.in (SUBDIR): Add leim. Update users.
4
3 * Makefile.in (lib, lib-src, lisp): Check cd return value. 5 * Makefile.in (lib, lib-src, lisp): Check cd return value.
4 6
5 * Makefile.in (leim): No need to set PARALLEL. 7 * Makefile.in (leim): No need to set PARALLEL.
diff --git a/Makefile.in b/Makefile.in
index 5d46ded15b4..62df10baa99 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -258,14 +258,8 @@ TRANSFORM = @program_transform_name@
258EMACS = `echo emacs${EXEEXT} | sed '$(TRANSFORM)'` 258EMACS = `echo emacs${EXEEXT} | sed '$(TRANSFORM)'`
259EMACSFULL = `echo emacs-${version}${EXEEXT} | sed '$(TRANSFORM)'` 259EMACSFULL = `echo emacs-${version}${EXEEXT} | sed '$(TRANSFORM)'`
260 260
261# Subdirectories to make recursively. `lisp' is not included 261# Subdirectories to make recursively.
262# because the compiled lisp files are part of the distribution. 262SUBDIR = lib lib-src src lisp leim
263# leim is not included because it needs special handling.
264#
265# Actually, we now include `lisp' as well, since the compiled files
266# are not included any more in case of bootstrap or in case Emacs was
267# checked out from a VCS.
268SUBDIR = lib lib-src src lisp
269 263
270# The subdir makefiles created by config.status. 264# The subdir makefiles created by config.status.
271SUBDIR_MAKEFILES_IN = @SUBDIR_MAKEFILES_IN@ 265SUBDIR_MAKEFILES_IN = @SUBDIR_MAKEFILES_IN@
@@ -280,7 +274,7 @@ SUBDIR_MAKEFILES = `echo $(SUBDIR_MAKEFILES_IN:.in=) | sed 's|$(srcdir)/||g'`
280COPYDIR = ${srcdir}/etc ${srcdir}/lisp 274COPYDIR = ${srcdir}/etc ${srcdir}/lisp
281COPYDESTS = $(DESTDIR)${etcdir} $(DESTDIR)${lispdir} 275COPYDESTS = $(DESTDIR)${etcdir} $(DESTDIR)${lispdir}
282 276
283all: ${SUBDIR} leim 277all: ${SUBDIR}
284 278
285removenullpaths=sed -e 's/^://g' -e 's/:$$//g' -e 's/::/:/g' 279removenullpaths=sed -e 's/^://g' -e 's/:$$//g' -e 's/::/:/g'
286 280
@@ -305,18 +299,15 @@ epaths-force: FRC
305 -e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";') && \ 299 -e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";') && \
306 ${srcdir}/build-aux/move-if-change epaths.h.$$$$ src/epaths.h 300 ${srcdir}/build-aux/move-if-change epaths.h.$$$$ src/epaths.h
307 301
308# For parallel make, src should be built before leim.
309leim: src Makefile FRC
310 cd leim && $(MAKE) all $(MFLAGS)
311
312lib-src src: lib 302lib-src src: lib
313 303
314src: lib-src FRC 304src: lib-src FRC
315 305
316.RECURSIVE: ${SUBDIR} leim 306.RECURSIVE: ${SUBDIR}
317 307
318# We need to build `emacs' in `src' to compile the *.elc files in `lisp'. 308# We need to build `emacs' in `src' to compile the *.elc files in `lisp'
319lisp: src 309# and `leim'.
310lisp leim: src
320 311
321# Maintainers can put a copy of gnulib into $(gnulib_srcdir). 312# Maintainers can put a copy of gnulib into $(gnulib_srcdir).
322gnulib_srcdir = ../gnulib 313gnulib_srcdir = ../gnulib
@@ -356,7 +347,7 @@ sync-from-gnulib: $(gnulib_srcdir)
356.PHONY: sync-from-gnulib 347.PHONY: sync-from-gnulib
357 348
358# These targets should be "${SUBDIR} without `src'". 349# These targets should be "${SUBDIR} without `src'".
359lib lib-src lisp: Makefile FRC 350lib lib-src lisp leim: Makefile FRC
360 cd $@ && $(MAKE) all $(MFLAGS) \ 351 cd $@ && $(MAKE) all $(MFLAGS) \
361 CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \ 352 CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \
362 LDFLAGS='${LDFLAGS}' MAKE='${MAKE}' 353 LDFLAGS='${LDFLAGS}' MAKE='${MAKE}'
@@ -818,7 +809,7 @@ maintainer-clean: bootstrap-clean FRC
818### the coding standards seem to come from. It's like distclean, but 809### the coding standards seem to come from. It's like distclean, but
819### it deletes backup and autosave files too. 810### it deletes backup and autosave files too.
820extraclean: 811extraclean:
821 for i in ${SUBDIR} leim; do (cd $$i; $(MAKE) $(MFLAGS) extraclean); done 812 for i in ${SUBDIR}; do (cd $$i; $(MAKE) $(MFLAGS) extraclean); done
822 ${top_maintainer_clean} 813 ${top_maintainer_clean}
823 -rm -f config-tmp-* 814 -rm -f config-tmp-*
824 -rm -f *~ \#* 815 -rm -f *~ \#*