mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-13 04:27:44 -05:00
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.
This commit is contained in:
parent
2cec6e2653
commit
6ab63388d1
4 changed files with 122 additions and 121 deletions
|
|
@ -575,8 +575,8 @@ if test ! -L "$srcdir"/include/alsa ; then
|
|||
ln -sf . "$srcdir"/include/alsa
|
||||
fi
|
||||
|
||||
AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile include/Makefile
|
||||
include/sound/Makefile src/Versions src/Makefile \
|
||||
AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \
|
||||
include/Makefile include/sound/Makefile src/Versions src/Makefile \
|
||||
src/control/Makefile src/mixer/Makefile \
|
||||
src/pcm/Makefile src/pcm/scopes/Makefile \
|
||||
src/rawmidi/Makefile src/timer/Makefile \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue