mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
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>
22 lines
745 B
Makefile
22 lines
745 B
Makefile
SUBDIRS=pictures
|
|
|
|
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
|
|
doxygen doxygen.cfg
|
|
|
|
doc-pack: doc
|
|
-chmod a+r $(top_srcdir)/doc/doxygen/html/*
|
|
-chmod a-w $(top_srcdir)/doc/doxygen/html/*
|
|
if ! test -z "$(AMTAR)"; then \
|
|
$(AMTAR) --create --directory=$(top_srcdir)/doc/doxygen/html --verbose --file=- . | bzip2 -c -9 > $(top_srcdir)/../alsa-lib-doc.tar.bz2 ; \
|
|
else \
|
|
$(TAR) --create --directory=$(top_srcdir)/doc/doxygen/html --verbose --file=- . | bzip2 -c -9 > $(top_srcdir)/../alsa-lib-doc.tar.bz2 ; \
|
|
fi
|
|
rm -f $(top_srcdir)/doc/doxygen/html/*
|
|
|
|
doc-clean:
|
|
rm -f $(top_srcdir)/doc/doxygen/html/*
|