DOC: Only build dtrace documentation with --enable-docs
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
f0b4df9948
commit
291c39dfef
|
@ -714,6 +714,7 @@ fi
|
|||
|
||||
dnl Handle building documentation
|
||||
AM_CONDITIONAL(BUILDDOCS, test "x$BUILDDOCS" = xyes)
|
||||
XORG_ENABLE_DOCS
|
||||
XORG_ENABLE_DEVEL_DOCS
|
||||
XORG_WITH_XMLTO(0.0.20)
|
||||
XORG_WITH_FOP
|
||||
|
|
|
@ -25,11 +25,13 @@ XML_FILES = Xserver-DTrace.xml
|
|||
|
||||
include ../xmlrules.in
|
||||
|
||||
if ENABLE_DOCS
|
||||
if XSERVER_DTRACE
|
||||
doc_DATA = $(BUILT_DOC_FILES)
|
||||
else
|
||||
noinst_DATA = $(BUILT_DOC_FILES)
|
||||
endif
|
||||
endif
|
||||
|
||||
CLEANFILES = $(CLEAN_DOC_FILES)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user