2007-02-21 20:36:02 -08:00
|
|
|
man_MANS = \
|
|
|
|
pacman.8 \
|
|
|
|
makepkg.8 \
|
|
|
|
PKGBUILD.5 \
|
|
|
|
makepkg.conf.5 \
|
|
|
|
pacman.conf.5 \
|
|
|
|
libalpm.3
|
2006-02-17 12:48:45 -08:00
|
|
|
|
2006-02-20 12:08:24 -08:00
|
|
|
if HAS_DOXYGEN
|
2007-02-22 13:34:51 -08:00
|
|
|
man_MANS += $(wildcard man3/*.3)
|
2006-02-20 12:08:24 -08:00
|
|
|
endif
|
2006-02-17 12:48:45 -08:00
|
|
|
|
2007-07-01 14:55:44 -07:00
|
|
|
EXTRA_DIST = \
|
|
|
|
pacman.8.txt \
|
|
|
|
makepkg.8.txt \
|
|
|
|
PKGBUILD.5.txt \
|
|
|
|
makepkg.conf.5.txt \
|
|
|
|
pacman.conf.5.txt \
|
|
|
|
libalpm.3.txt \
|
|
|
|
footer.txt \
|
|
|
|
Doxyfile
|
|
|
|
|
|
|
|
# Files that should be removed, but which Automake does not know.
|
|
|
|
MOSTLYCLEANFILES = $(man_MANS) man3/*.3 *.xml
|
2007-07-01 15:40:43 -07:00
|
|
|
|
2007-07-05 22:56:11 -07:00
|
|
|
ASCIIDOC_OPTS = \
|
|
|
|
-f asciidoc.conf \
|
|
|
|
-apacman_version="$(PACKAGE_VERSION)" \
|
|
|
|
-apacman_date="`date +%Y-%m-%d`"
|
|
|
|
|
2007-07-01 15:40:43 -07:00
|
|
|
if HAS_DOXYGEN
|
|
|
|
all: doxygen.in
|
|
|
|
|
|
|
|
doxygen.in:
|
|
|
|
doxygen $(srcdir)/Doxyfile
|
|
|
|
endif
|
2007-02-22 19:23:06 -08:00
|
|
|
|
2007-07-06 06:59:46 -07:00
|
|
|
$(man_MANS): footer.txt
|
2007-07-05 22:56:11 -07:00
|
|
|
a2x -d manpage -f manpage --asciidoc-opts="$(ASCIIDOC_OPTS)" $@.txt
|
2007-02-22 19:23:06 -08:00
|
|
|
|
2007-06-04 14:49:09 -07:00
|
|
|
# vim:set ts=2 sw=2 noet:
|