configure: Doxygen is disabled by default; manpages are included in dist
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
1b2817f539
commit
103c3ac5a7
|
@ -100,8 +100,8 @@ AC_ARG_WITH(db-ext,
|
||||||
|
|
||||||
# Help line for doxygen
|
# Help line for doxygen
|
||||||
AC_ARG_ENABLE(doxygen,
|
AC_ARG_ENABLE(doxygen,
|
||||||
AC_HELP_STRING([--disable-doxygen], [do not build API docs via Doxygen]),
|
AC_HELP_STRING([--enable-doxygen], [build your own API docs via Doxygen]),
|
||||||
[wantdoxygen=$enableval], [wantdoxygen=yes])
|
[wantdoxygen=$enableval], [wantdoxygen=no])
|
||||||
|
|
||||||
# Help line for asciidoc
|
# Help line for asciidoc
|
||||||
AC_ARG_ENABLE(asciidoc,
|
AC_ARG_ENABLE(asciidoc,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# We have to do some funny stuff here with the manpages. In order to ensure
|
# We have to do some funny stuff here with the manpages. In order to ensure
|
||||||
# a dist tarball doesn't get put out there without manpages, we keep those
|
# a dist tarball doesn't get put out there without manpages, we keep those
|
||||||
# files listed in EXTRA_DIST no matter what. However, we only add them to
|
# files listed in EXTRA_DIST no matter what. However, we only add them to
|
||||||
# man_MANS if --enable-asciidoc was used.
|
# man_MANS if --enable-asciidoc and/or --enable-doxygen are used.
|
||||||
|
|
||||||
ASCIIDOC_MANS = \
|
ASCIIDOC_MANS = \
|
||||||
pacman.8 \
|
pacman.8 \
|
||||||
|
@ -12,14 +12,15 @@ ASCIIDOC_MANS = \
|
||||||
pacman.conf.5 \
|
pacman.conf.5 \
|
||||||
libalpm.3
|
libalpm.3
|
||||||
|
|
||||||
if USE_DOXYGEN
|
|
||||||
DOXYGEN_MANS = $(wildcard man3/*.3)
|
DOXYGEN_MANS = $(wildcard man3/*.3)
|
||||||
endif
|
|
||||||
|
man_MANS =
|
||||||
|
|
||||||
if USE_ASCIIDOC
|
if USE_ASCIIDOC
|
||||||
man_MANS = $(ASCIIDOC_MANS) $(DOXYGEN_MANS)
|
man_MANS += $(ASCIIDOC_MANS)
|
||||||
else
|
endif
|
||||||
man_MANS = $(DOXYGEN_MANS)
|
if USE_DOXYGEN
|
||||||
|
man_MANS += $(DOXYGEN_MANS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
|
@ -33,7 +34,8 @@ EXTRA_DIST = \
|
||||||
libalpm.3.txt \
|
libalpm.3.txt \
|
||||||
footer.txt \
|
footer.txt \
|
||||||
Doxyfile \
|
Doxyfile \
|
||||||
$(ASCIIDOC_MANS)
|
$(ASCIIDOC_MANS) \
|
||||||
|
$(DOXYGEN_MANS)
|
||||||
|
|
||||||
# Files that should be removed, but which Automake does not know.
|
# Files that should be removed, but which Automake does not know.
|
||||||
MOSTLYCLEANFILES = $(DOXYGEN_MANS) *.xml
|
MOSTLYCLEANFILES = $(DOXYGEN_MANS) *.xml
|
||||||
|
|
Loading…
Reference in New Issue