]> git.alsa-project.org Git - alsa-lib.git/commit
Create doxgen.cfg dynamically
authorTakashi Iwai <tiwai@suse.de>
Mon, 25 Feb 2008 13:56:51 +0000 (14:56 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 25 Feb 2008 13:56:51 +0000 (14:56 +0100)
commit6ab63388d16cdbdd02cd656a84dd18bcf7f2be95
tree71b03a51e31d031a39e7cec80f89ffa77403ec8b
parent2cec6e2653b4132fbbe82b8f50d1300293fb95d2
Create doxgen.cfg dynamically

The patch from bug#3799
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3799

The "doc" target in doc/Makefile.am assumes the build directory and
the source directory are the same and fails if they differ ... this is
because the doxygen.cfg contains relative paths (such as ../) that
only work when building in the source tree

The attached patch against hg replaces all relative paths with
@top_srcdir@ and changes doxygen.cfg to a generated file so that
configure replaces @top_srcdir@ with the appropriate configure-time
path.

Assuming people like being able to do `make -f Makefile.am doc` on
an unconfigured and having it work, i added a small `test&&sed`
that'll generate an appropriate default doxygen.cfg for them.
configure.in
doc/Makefile.am
doc/doxygen.cfg [deleted file]
doc/doxygen.cfg.in [new file with mode: 0644]