summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am17
1 files changed, 7 insertions, 10 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index abc761b8..3e469294 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -14,15 +14,6 @@ ASCIIDOC_MANS = \
DOXYGEN_MANS = $(wildcard man3/*.3)
-man_MANS =
-
-if USE_ASCIIDOC
-man_MANS += $(ASCIIDOC_MANS)
-endif
-if USE_DOXYGEN
-man_MANS += $(DOXYGEN_MANS)
-endif
-
EXTRA_DIST = \
pacman.8.txt \
makepkg.8.txt \
@@ -38,9 +29,15 @@ EXTRA_DIST = \
$(DOXYGEN_MANS)
# Files that should be removed, but which Automake does not know.
-MOSTLYCLEANFILES = $(DOXYGEN_MANS) *.xml
+MOSTLYCLEANFILES = *.xml
+MAINTAINERCLEANFILES = $(ASCIIDOC_MANS)
+
+man_MANS =
+dist_man_MANS = $(ASCIIDOC_MANS)
if USE_DOXYGEN
+man_MANS += $(DOXYGEN_MANS)
+
all: doxygen.in
doxygen.in: