summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-07-26 21:31:12 +0200
committerPatrick McHardy <kaber@trash.net>2010-07-26 21:31:12 +0200
commit37b5f1105f69c9d5b170ccc8382af4a75ec61e5d (patch)
treeb519b2ef25c5a498b0001dfc255ee5bd4d5565cd /doc
parentadc06cfd50aa22cbc661cb75972845b0dc6fb77d (diff)
build: minor build improvements
Add --enable switch for documentation build, build documentation by default and add a few more configure tests. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 000c9d5..5419d76 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -1,4 +1,8 @@
all: doxygen
doxygen:
- $(DOXYGEN) $(SUBDIR)Doxyfile
+ if test -n "$(DOXYGEN)"; then \
+ $(DOXYGEN) $(SUBDIR)Doxyfile; \
+ else \
+ echo "Doxygen not found, can not build documentation"; \
+ fi