From: Jim Meyering Date: Fri, 27 Mar 1998 22:37:56 +0000 (+0000) Subject: ($(ACLOCAL_M4)): Replace old rule with this X-Git-Tag: TEXTUTILS-1_22f~138 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ede420f14aec3b998d220439cd6391c7e5f6e9d9;p=thirdparty%2Fcoreutils.git ($(ACLOCAL_M4)): Replace old rule with this dependency and the := assignment of ACLOCAL to make the default rule use the `-I m4' option. --- diff --git a/Makefile.maint b/Makefile.maint index c08ed12cf8..49aa45349f 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)