]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
($(ACLOCAL_M4)): Replace old rule with this
authorJim Meyering <jim@meyering.net>
Fri, 27 Mar 1998 22:37:56 +0000 (22:37 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 27 Mar 1998 22:37:56 +0000 (22:37 +0000)
dependency and the := assignment of ACLOCAL to make the default
rule use the `-I m4' option.

Makefile.maint

index c08ed12cf811a6d06417ac479fac762bd940ea24..49aa45349fd8fa8a6337b71651e77a50447be6fe 100644 (file)
@@ -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)