summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2009-03-26 20:36:39 +0000
committerRoger Leigh <rleigh@debian.org>2009-03-26 20:36:39 +0000
commit8c789094a53175d14bab6c684bc55d2701c6d237 (patch)
treefe3d97cf45f74b900f9350bd52d8dd7819298d52 /doc
parentb8d7b309a4736b5fc2dddc3f6744cac757d36195 (diff)
downloadschroot-8c789094a53175d14bab6c684bc55d2701c6d237.tar.gz
[build] Add configure option to generate doxygen docs
By default, do not build documentation unless --enable-doxygen is used. Do not distribute doxygen documentation.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am18
1 files changed, 5 insertions, 13 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index a616d0f9..b92059b5 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -25,7 +25,7 @@ if MAINTAINER_MODE
all-local: sbuild schroot
endif
-if USE_DOXYGEN
+if BUILD_DOXYGEN
schroot: schroot-stamp
sbuild: sbuild-stamp
else
@@ -60,20 +60,12 @@ schroot.pdf: schroot.ps
CLEANFILES = \
schroot.log \
schroot.ps \
- schroot.pdf
-
-maintainer-clean-local:
- $(RM) -r sbuild
- $(RM) -r schroot
-
-MAINTAINERCLEANFILES = \
+ schroot.pdf \
sbuild-stamp \
schroot-stamp
-EXTRA_DIST = \
- sbuild \
- schroot \
- sbuild-stamp \
- schroot-stamp
+clean-local:
+ $(RM) -r sbuild
+ $(RM) -r schroot
.PHONY: sbuild schroot