diff options
author | Alan Modra <amodra@gmail.com> | 2014-04-09 13:23:41 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-04-09 15:32:14 +0930 |
commit | 19e1c431f72007f8a7a6a8e8b2511c74f3e8a000 (patch) | |
tree | 7a2a38db81045dbf3e4144f8f9c8d5d1fd31ef6b /bfd/doc | |
parent | bf7279d5358c47b90b89c4b6b5f8be9960120be2 (diff) | |
download | gdb-19e1c431f72007f8a7a6a8e8b2511c74f3e8a000.zip gdb-19e1c431f72007f8a7a6a8e8b2511c74f3e8a000.tar.gz gdb-19e1c431f72007f8a7a6a8e8b2511c74f3e8a000.tar.bz2 |
Add a time-stamp for chew
One last time-stamp. Now none of the doc rules using move-if-change
will run unnecessarily.
* Makefile.am ($(MKDOC)): New rule, depend on chew.stamp. Move
old rule to..
(chew.stamp): ..here.
(DISTCLEANFILES): Move *.stamp..
(MOSTLYCLEANFILES): ..to here.
* Makefile.in: Regenerate.
Diffstat (limited to 'bfd/doc')
-rw-r--r-- | bfd/doc/ChangeLog | 9 | ||||
-rw-r--r-- | bfd/doc/Makefile.am | 11 | ||||
-rw-r--r-- | bfd/doc/Makefile.in | 11 |
3 files changed, 23 insertions, 8 deletions
diff --git a/bfd/doc/ChangeLog b/bfd/doc/ChangeLog index dcc8135..93d82fb 100644 --- a/bfd/doc/ChangeLog +++ b/bfd/doc/ChangeLog @@ -1,5 +1,14 @@ 2014-04-09 Alan Modra <amodra@gmail.com> + * Makefile.am ($(MKDOC)): New rule, depend on chew.stamp. Move + old rule to.. + (chew.stamp): ..here. + (DISTCLEANFILES): Move *.stamp.. + (MOSTLYCLEANFILES): ..to here. + * Makefile.in: Regenerate. + +2014-04-09 Alan Modra <amodra@gmail.com> + * Makefile.am (MKDOC): Use $@ in command. (aoutx.texi): New rule, depend on aoutx.stamp. Move old rule.. (aoutx.stamp): .. to here. Don't depend on chew.c, depend on MKDOC diff --git a/bfd/doc/Makefile.am b/bfd/doc/Makefile.am index 58c9591..3f69859 100644 --- a/bfd/doc/Makefile.am +++ b/bfd/doc/Makefile.am @@ -76,10 +76,13 @@ MKDOC = chew$(EXEEXT_FOR_BUILD) AM_CPPFLAGS = -I.. -I$(srcdir)/.. -I$(srcdir)/../../include \ -I$(srcdir)/../../intl -I../../intl -$(MKDOC): $(srcdir)/chew.c +$(MKDOC): chew.stamp ; @true +chew.stamp: $(srcdir)/chew.c $(CC_FOR_BUILD) -o chw$$$$$(EXEEXT_FOR_BUILD) $(CFLAGS_FOR_BUILD) \ $(LDFLAGS_FOR_BUILD) $(H_CFLAGS) $(AM_CPPFLAGS) $(srcdir)/chew.c; \ - $(SHELL) $(srcdir)/../../move-if-change chw$$$$$(EXEEXT_FOR_BUILD) $@ + $(SHELL) $(srcdir)/../../move-if-change \ + chw$$$$$(EXEEXT_FOR_BUILD) $(MKDOC); \ + touch $@ protos: libbfd.h libcoff.h bfd.h @@ -323,11 +326,11 @@ bfdver.texi: $(srcdir)/Makefile.in noinst_TEXINFOS = bfdint.texi -MOSTLYCLEANFILES = $(MKDOC) *.o +MOSTLYCLEANFILES = $(MKDOC) *.o *.stamp CLEANFILES = *.p *.ip -DISTCLEANFILES = bfd.?? bfd.??? bfd.h libbfd.h libcoff.h texput.log *.stamp +DISTCLEANFILES = bfd.?? bfd.??? bfd.h libbfd.h libcoff.h texput.log MAINTAINERCLEANFILES = $(DOCFILES) diff --git a/bfd/doc/Makefile.in b/bfd/doc/Makefile.in index a68e565..77e837c 100644 --- a/bfd/doc/Makefile.in +++ b/bfd/doc/Makefile.in @@ -390,10 +390,10 @@ BFD_H_DEP = \ $(MKDOC) noinst_TEXINFOS = bfdint.texi -MOSTLYCLEANFILES = $(MKDOC) *.o +MOSTLYCLEANFILES = $(MKDOC) *.o *.stamp CLEANFILES = *.p *.ip DISTCLEANFILES = bfd.?? bfd.??? bfd.h libbfd.h libcoff.h texput.log \ - *.stamp $(am__append_1) + $(am__append_1) MAINTAINERCLEANFILES = $(DOCFILES) bfd.info all: all-am @@ -775,10 +775,13 @@ uninstall-am: uninstall-dvi-am uninstall-html-am uninstall-info-am \ uninstall-info-am uninstall-pdf-am uninstall-ps-am -$(MKDOC): $(srcdir)/chew.c +$(MKDOC): chew.stamp ; @true +chew.stamp: $(srcdir)/chew.c $(CC_FOR_BUILD) -o chw$$$$$(EXEEXT_FOR_BUILD) $(CFLAGS_FOR_BUILD) \ $(LDFLAGS_FOR_BUILD) $(H_CFLAGS) $(AM_CPPFLAGS) $(srcdir)/chew.c; \ - $(SHELL) $(srcdir)/../../move-if-change chw$$$$$(EXEEXT_FOR_BUILD) $@ + $(SHELL) $(srcdir)/../../move-if-change \ + chw$$$$$(EXEEXT_FOR_BUILD) $(MKDOC); \ + touch $@ protos: libbfd.h libcoff.h bfd.h |