aboutsummaryrefslogtreecommitdiffstats
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-rw-r--r--macros/.cvsignore4
-rw-r--r--macros/ChangeLog7
-rw-r--r--macros/Makefile.am11
3 files changed, 20 insertions, 2 deletions
diff --git a/macros/.cvsignore b/macros/.cvsignore
new file mode 100644
index 0000000000..1a58525e64
--- /dev/null
+++ b/macros/.cvsignore
@@ -0,0 +1,4 @@
+Makefile.in
+Makefile
+macros.dep
+
diff --git a/macros/ChangeLog b/macros/ChangeLog
index d85dbfa7b3..2b163e2ff5 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,10 @@
+1998-02-13 Raja R Harinath <harinath@cs.umn.edu>
+
+ * Makefile.am (macros.dep): New maintainer rule for handling
+ automatic rebuilding of aclocal.m4 if any of the macros change.
+ (MACROS): New variable. List of all `m4' macros in this
+ directory.
+
1998-02-12 Raja R Harinath <harinath@cs.umn.edu>
* gnome-support.m4: New file. Defines GNOME_SUPPORT_CHECKS for
diff --git a/macros/Makefile.am b/macros/Makefile.am
index d2969a8305..8dabbbcc12 100644
--- a/macros/Makefile.am
+++ b/macros/Makefile.am
@@ -1,2 +1,9 @@
-EXTRA_DIST=aclocal-include.m4 \
- gnome.m4 gnome-x-checks.m4
+## Please update this variable if any new macros are created
+MACROS= aclocal-include.m4 gnome-guile-checks.m4 \
+ gnome-objc-checks.m4 gnome-x-checks.m4 gnome.m4
+
+EXTRA_DIST=$(MACROS)
+MAINTAINERCLEANFILES=macros.dep
+
+@MAINT@macros.dep: Makefile.am
+@MAINT@ @echo "$$(top_srcdir)/aclocal.m4: $(MACROS:%=macros/%)" > $@