]> git.donarmstrong.com Git - lilypond.git/commit
Build dependencies for .texi files (issue 1852).
authorJulien Rioux <jrioux@physics.utoronto.ca>
Mon, 26 Sep 2011 12:09:31 +0000 (08:09 -0400)
committerGraham Percival <graham@percival-music.ca>
Tue, 11 Oct 2011 17:28:11 +0000 (18:28 +0100)
commitd30221fa73101baffcb05ec49ec04d366a471824
tree032a299b74d119151c79cd0d9b9aa2f45ce5c59f
parent7aa6257a56d35226e88bab86fa17671751f580d1
Build dependencies for .texi files (issue 1852).

Write .dep files containing make dependency rules for .texi and .itexi files.
They allow to simply type `make' to process the doc after changing an included
file and have the manuals updated with the minimum amount of processing.

These .dep files are generated by recursively scanning for lines starting with
@include in the .texi files, and looking up these included files within the
include directories that we pass to texinfo. The same is done for .itexi files.
The .dep files are included into the build by stepmake/generic-targets.make.

With this we can clean up Documentation/GNUmakefile a bit:
  - Remove the previous apparently unsuccessfull attempt at tracking
    dependencies with a wildcard, and
  - Remove dependencies that are caught automatically: only generated files
    need an explicit dependency, which weblinks.itexi is an example, thus
  - Add the explicit dependency for weblinks.itexi.
Documentation/GNUmakefile
stepmake/stepmake/texinfo-rules.make
stepmake/stepmake/texinfo-vars.make