summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-01-30 14:11:36 -0500
committerGaetan Nadon <memsize@videotron.ca>2010-01-31 09:34:55 -0500
commit844a1de311492a7666c60f39c6cbe23a5c3f22da (patch)
tree45e75a204c8a6ec7ee9ea0e45cc53433412442fd /doc
parent626788435d4a49eeea9fa2382f7ec554a0b92197 (diff)
doc: use new macros to control doc generation
Namely XORG_WITH_GROFF for the groff generation tool XORG_ENABLE_DOCS for the generation of all docs Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 05fee05..eea436b 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -27,7 +27,8 @@ doc_sources = macros.t SMlib.ms xsmp.ms
EXTRA_DIST = $(doc_sources)
-if BUILD_DOCS
+if ENABLE_DOCS
+if HAVE_GROFF
doc_DATA = SMlib.txt SMlib.ps SMlib.html xsmp.txt xsmp.ps xsmp.html
CLEANFILES = $(doc_DATA)
@@ -56,4 +57,5 @@ SUFFIXES = .ms .ps .txt .html
.ms.html:
$(AM_V_GEN) $(GROFF) -Thtml -P-Dimages -P-I$*-image $(GROFF_FLAGS) $< 2> index.$@.raw > $@
-endif BUILD_DOCS
+endif HAVE_GROFF
+endif ENABLE_DOCS