summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-05-23 20:40:14 -0700
committerGlenn Morris <rgm@gnu.org>2011-05-23 20:40:14 -0700
commitfa5d79db2ce8541a7b7342d48146a5ae6cbfdcc8 (patch)
tree88a8d09d0039830d03c74be2d7c2eb46be53f45e
parentf86307039d8a02d5c76a222b9e7440b2f5066f36 (diff)
downloademacs-fa5d79db2ce8541a7b7342d48146a5ae6cbfdcc8.tar.gz
Eliminate some duplication in top-level Makefile.in.
* Makefile.in (SUBDIR_MAKEFILES_IN): New variable. (SUBDIR_MAKEFILES): Derive from $SUBDIR_MAKEFILES_IN. (Makefile): Use $SUBDIR_MAKEFILES_IN.
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.in21
2 files changed, 13 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index 9f7fa0501c8..cf2da157e8c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-24 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (SUBDIR_MAKEFILES_IN): New variable.
+ (SUBDIR_MAKEFILES): Derive from $SUBDIR_MAKEFILES_IN.
+ (Makefile): Use $SUBDIR_MAKEFILES_IN.
+
2011-05-23 Paul Eggert <eggert@cs.ucla.edu>
* lib/verify.h: Merge from gnulib.
diff --git a/Makefile.in b/Makefile.in
index 1c0dbb9c27e..e3d5f3ba2bb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -265,7 +265,12 @@ EMACSFULL = `echo emacs-${version}${EXEEXT} | sed '$(TRANSFORM)'`
SUBDIR = lib lib-src src lisp
# The subdir makefiles created by config.status.
-SUBDIR_MAKEFILES = lib/Makefile lib-src/Makefile doc/emacs/Makefile doc/misc/Makefile doc/lispref/Makefile doc/lispintro/Makefile src/Makefile oldXMenu/Makefile lwlib/Makefile leim/Makefile lisp/Makefile test/automated/Makefile
+SUBDIR_MAKEFILES_IN = lib/Makefile.in lib-src/Makefile.in \
+ doc/emacs/Makefile.in doc/misc/Makefile.in doc/lispref/Makefile.in \
+ doc/lispintro/Makefile.in src/Makefile.in oldXMenu/Makefile.in \
+ lwlib/Makefile.in leim/Makefile.in lisp/Makefile.in test/automated/Makefile.in
+
+SUBDIR_MAKEFILES = $(SUBDIR_MAKEFILES_IN:.in=)
# Subdirectories to install, and where they'll go.
# lib-src's makefile knows how to install it, so we don't do that here.
@@ -388,19 +393,7 @@ blessmail: Makefile src FRC
# conditions with parallel makes, so let's assume that the time stamp on
# ./Makefile is representative of the time stamp on all the other Makefiles.
Makefile: config.status $(srcdir)/src/config.in \
- $(srcdir)/Makefile.in \
- $(srcdir)/src/Makefile.in \
- $(srcdir)/lib/Makefile.in \
- $(srcdir)/lib-src/Makefile.in \
- $(srcdir)/doc/emacs/Makefile.in \
- $(srcdir)/doc/misc/Makefile.in \
- $(srcdir)/doc/lispref/Makefile.in \
- $(srcdir)/doc/lispintro/Makefile.in \
- $(srcdir)/oldXMenu/Makefile.in \
- $(srcdir)/lwlib/Makefile.in \
- $(srcdir)/leim/Makefile.in \
- $(srcdir)/lisp/Makefile.in \
- $(srcdir)/test/automated/Makefile.in
+ $(srcdir)/Makefile.in $(SUBDIR_MAKEFILES_IN)
./config.status
# Don't erase config.status if make is interrupted while refreshing it.