summaryrefslogtreecommitdiff
path: root/Makefile.maint
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-03-27 22:37:56 +0000
committerJim Meyering <jim@meyering.net>1998-03-27 22:37:56 +0000
commitede420f14aec3b998d220439cd6391c7e5f6e9d9 (patch)
tree7baaf30ecb908e78df9d43cccaccc751cbfd9a9d /Makefile.maint
parent52a2ff839c49f45ac773ae0f739724f313b175a9 (diff)
downloadcoreutils-ede420f14aec3b998d220439cd6391c7e5f6e9d9.tar.xz
($(ACLOCAL_M4)): Replace old rule with this
dependency and the := assignment of ACLOCAL to make the default rule use the `-I m4' option.
Diffstat (limited to 'Makefile.maint')
-rw-r--r--Makefile.maint9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.maint b/Makefile.maint
index c08ed12cf..49aa45349 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -57,6 +57,9 @@ aclocal-files: configure.in m4/Makefile.am
-include aclocal-files
-# Override default rule to use --acdir option
-$(srcdir)/aclocal.m4: configure.in $(acfiles)
- cd $(srcdir) && aclocal -I $(acdir)
+# Regenerate aclocal.m4 any time one of the m4/*.m4 files changes.
+$(ACLOCAL_M4): $(acfiles)
+
+# Make aclocal use `-I m4'.
+# This is used in Makefile.maint.
+ACLOCAL := $(ACLOCAL) -I $(acdir)