Fix and document rules to not touch the tree with `make -n'.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 3 Oct 2010 10:29:40 +0000 (12:29 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 4 Nov 2010 20:04:20 +0000 (21:04 +0100)
commitd7c1679b14c1ab691927f3243df1cb3cbb2360aa
tree22c3ea17ae0881fff6ee32522f183155c6da9ad3
parenta7ba28fd1f3c094aa878b779b883ea185dcaa10e
Fix and document rules to not touch the tree with `make -n'.

* doc/automake.texi (Multiple Outputs): Document the problem of
modifications during dry-run execution, propose solution.
* NEWS: Update.
* automake.in (lang_vala_finish_target): Split recipe so the
stamp file is not removed with GNU `make -n'.
(lang_yacc_target_hook): Separate removal of parser output file
and header remaking.
* lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
passed to make, take care not to remove any files in that case.
* lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
%STAMP% file from induced remaking of config header.
* tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
New tests.
* tests/Makefile.am (TESTS): Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
NEWS
automake.in
doc/automake.texi
lib/am/lisp.am
lib/am/remake-hdr.am
tests/Makefile.am
tests/Makefile.in
tests/autohdrdry.test [new file with mode: 0755]
tests/lispdry.test [new file with mode: 0755]
tests/yaccdry.test [new file with mode: 0755]