OSDN Git Service

doc: fix handling of @top_srcdir@
authorClemens Ladisch <clemens@ladisch.de>
Tue, 4 Aug 2009 07:12:39 +0000 (09:12 +0200)
committerClemens Ladisch <clemens@ladisch.de>
Tue, 4 Aug 2009 07:12:39 +0000 (09:12 +0200)
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>
doc/Makefile.am

index a5896a7..2cc250b 100644 (file)
@@ -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