* Makefile.in (TAGS, tags, check): Pass MFLAGS to sub-makes.
authorGlenn Morris <rgm@gnu.org>
Tue, 24 May 2011 08:04:27 +0000 (01:04 -0700)
committerGlenn Morris <rgm@gnu.org>
Tue, 24 May 2011 08:04:27 +0000 (01:04 -0700)
ChangeLog
Makefile.in

index af6589d..b9dbb2d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2011-05-24  Glenn Morris  <rgm@gnu.org>
 
+       * Makefile.in (TAGS, tags, check): Pass MFLAGS to sub-makes.
+
        * configure.in (OPT_MAKEFILES_IN): Remove.
        (SUBDIR_MAKEFILES): New variable, passed to AC_CONFIG_FILES.
        (SUBDIR_MAKEFILES_IN): New output variable.
index f0b18ad..1138c78 100644 (file)
@@ -855,13 +855,13 @@ extraclean:
 # The src subdir knows how to do the right thing
 # even when the build directory and source dir are different.
 TAGS tags: lib lib-src src
-       cd src; $(MAKE) tags
+       cd src; $(MAKE) $(MFLAGS) tags
 
 check:
        @if test ! -d test/automated; then \
          echo "You do not seem to have the test/ directory."; exit 1; \
        else true; fi
-       cd test/automated && $(MAKE) check
+       cd test/automated && $(MAKE) $(MFLAGS) check
 
 dist:
        cd ${srcdir}; ./make-dist