diff options
author | Raja R Harinath <harinath@src.gnome.org> | 1998-02-13 18:01:43 +0000 |
---|---|---|
committer | Raja R Harinath <harinath@src.gnome.org> | 1998-02-13 18:01:43 +0000 |
commit | 072f8bc6684ddd1b1cbebf069d566cca324eb199 (patch) | |
tree | 1aaa14523ac6cf75af168f28732362605a8359dd | |
parent | f9e171e105dc090846c47ec189b58b897971a178 (diff) | |
download | shared-mime-info-072f8bc6684ddd1b1cbebf069d566cca324eb199.tar.gz |
New maintainer rule for handling automatic rebuilding of aclocal.m4 if any
* 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.
- Hari
svn path=/trunk/; revision=68
-rw-r--r-- | macros/.cvsignore | 4 | ||||
-rw-r--r-- | macros/ChangeLog | 7 | ||||
-rw-r--r-- | macros/Makefile.am | 11 |
3 files changed, 20 insertions, 2 deletions
diff --git a/macros/.cvsignore b/macros/.cvsignore new file mode 100644 index 00000000..1a58525e --- /dev/null +++ b/macros/.cvsignore @@ -0,0 +1,4 @@ +Makefile.in +Makefile +macros.dep + diff --git a/macros/ChangeLog b/macros/ChangeLog index d85dbfa7..2b163e2f 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 d2969a83..8dabbbcc 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/%)" > $@ |