summaryrefslogtreecommitdiff
path: root/general/graphics
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-11-07 10:32:21 -0500
committerGaetan Nadon <memsize@videotron.ca>2010-11-08 11:13:50 -0500
commit8b52358bde047c9ecbd4a52c13591ce0df28be9e (patch)
tree71afdde862ccf793aff29db470ff765084d6bb41 /general/graphics
parentfdebf058052aca57361153687fcdb5cd29b68cae (diff)
Implement the --disable-docs option
The XORG_ENABLE_DOCS macro provide a configure option to disable the generation of general documentation. The makefiles need to use the Automake conditional ENABLE_DOCS Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'general/graphics')
-rw-r--r--general/graphics/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/general/graphics/Makefile.am b/general/graphics/Makefile.am
index 55d3d88..542f12c 100644
--- a/general/graphics/Makefile.am
+++ b/general/graphics/Makefile.am
@@ -1,4 +1,4 @@
-# Process this file with automake to create Makefile.in
+if ENABLE_DOCS
doc_sources = dps.xml
@@ -6,3 +6,5 @@ xmldir = $(docdir)/graphics
dist_xml_DATA = $(doc_sources)
include $(top_srcdir)/xmlrules.in
+
+endif ENABLE_DOCS