summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMartin Lucina <mato@kotelna.sk>2010-02-18 17:25:49 +0100
committerMartin Lucina <mato@kotelna.sk>2010-02-18 17:25:49 +0100
commit46824abeb2b016c51f406401d965816f71189aed (patch)
treed75cb7b5f0a69f91ea56e7cc3dfe20739c2cb41b /doc
parent8be491b7bdb8525eb37cebf355697c566a482e2d (diff)
Never build docs from tarball releases
This fixes the build_doc logic to work as advertised and never try to (re)build documentation when working with a tarball release.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index c91c808..a6fce0c 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -26,6 +26,7 @@ MAINTAINERCLEANFILES = $(MAN_DOC) $(MAN_HTML)
dist-hook : $(MAN_DOC) $(MAN_HTML)
+if BUILD_DOC
SUFFIXES=.html .txt .xml .1 .3 .7
.txt.html:
@@ -40,4 +41,4 @@ SUFFIXES=.html .txt .xml .1 .3 .7
xmlto man $<
.xml.7:
xmlto man $<
-
+endif