summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2009-08-04 09:12:39 +0200
committerClemens Ladisch <clemens@ladisch.de>2009-08-04 09:12:39 +0200
commit1b4dedc62e1fd4d43403458536842e4cdc79628b (patch)
tree0bd27c189e7f2b0dd5e26f6a0830c82bdd668e63 /doc
parentfa302460966b1683e1bc5ad7b50b00abc85968d7 (diff)
downloadalsa-lib-1b4dedc62e1fd4d43403458536842e4cdc79628b.tar.gz
doc: fix handling of @top_srcdir@
The value of top_srcdir should be replaced in the config file, not in the makefile, so we have to escape it in the makefile. In the default case, the value of top_srcdir is ".." which, when used as a regular expression, is a little bit too inclusive. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index a5896a7e..2cc250bf 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -5,7 +5,7 @@ EXTRA_DIST=README.1st asoundrc.txt doxygen.cfg index.doxygen
INCLUDES=-I$(top_srcdir)/include
doc:
- test -e doxygen.cfg || sed s:@top_srcdir@:..:g doxygen.cfg.in > doxygen.cfg
+ test -e doxygen.cfg || sed s:[@]top_srcdir[@]:..:g doxygen.cfg.in > doxygen.cfg
doxygen doxygen.cfg
doc-pack: doc