From ede420f14aec3b998d220439cd6391c7e5f6e9d9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 27 Mar 1998 22:37:56 +0000 Subject: ($(ACLOCAL_M4)): Replace old rule with this dependency and the := assignment of ACLOCAL to make the default rule use the `-I m4' option. --- Makefile.maint | 9 ++++++--- 1 file 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) -- cgit v1.2.3-70-g09d2