mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 07:00:03 +01:00
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>
(cherry picked from commit 291c39dfef)
This commit is contained in:
parent
4a7b5a33e1
commit
2715529d6b
2 changed files with 3 additions and 0 deletions
|
|
@ -718,6 +718,7 @@ fi
|
||||||
|
|
||||||
dnl Handle building documentation
|
dnl Handle building documentation
|
||||||
AM_CONDITIONAL(BUILDDOCS, test "x$BUILDDOCS" = xyes)
|
AM_CONDITIONAL(BUILDDOCS, test "x$BUILDDOCS" = xyes)
|
||||||
|
XORG_ENABLE_DOCS
|
||||||
XORG_ENABLE_DEVEL_DOCS
|
XORG_ENABLE_DEVEL_DOCS
|
||||||
XORG_WITH_XMLTO(0.0.20)
|
XORG_WITH_XMLTO(0.0.20)
|
||||||
XORG_WITH_FOP
|
XORG_WITH_FOP
|
||||||
|
|
|
||||||
|
|
@ -25,11 +25,13 @@ XML_FILES = Xserver-DTrace.xml
|
||||||
|
|
||||||
include ../xmlrules.in
|
include ../xmlrules.in
|
||||||
|
|
||||||
|
if ENABLE_DOCS
|
||||||
if XSERVER_DTRACE
|
if XSERVER_DTRACE
|
||||||
doc_DATA = $(BUILT_DOC_FILES)
|
doc_DATA = $(BUILT_DOC_FILES)
|
||||||
else
|
else
|
||||||
noinst_DATA = $(BUILT_DOC_FILES)
|
noinst_DATA = $(BUILT_DOC_FILES)
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
CLEANFILES = $(CLEAN_DOC_FILES)
|
CLEANFILES = $(CLEAN_DOC_FILES)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue