Commit 2b813b6a authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Add path to xml2 to prevent build of devhelp.

parent d6a7e22b
......@@ -55,6 +55,7 @@ else()
"--enable-rebuild-docs=no"
)
set(EP_xml2_LINKING_TYPE "--disable-static" "--enable-shared")
set(EP_xml2_PATCH_COMMAND "${PATCH_PROGRAM}" "-p1" "-i" "${CMAKE_CURRENT_SOURCE_DIR}/builders/xml2/no_devhelp.patch")
if(WIN32)
set(EP_xml2_EXTRA_LDFLAGS "-static-libgcc")
......
From 94143f8b06ca3ef41ad0a70c6c6d0d96672975b5 Mon Sep 17 00:00:00 2001
From: Ghislain MARY <ghislain.mary@belledonne-communications.com>
Date: Fri, 5 Dec 2014 10:31:19 +0100
Subject: [PATCH] Do not include devhelp and examples subdirs when not
rebuilding docs.
---
doc/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/Makefile.am b/doc/Makefile.am
index dd39f69..29a69fc 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,5 +1,7 @@
## Process this file with automake to produce Makefile.in
+if REBUILD_DOCS
SUBDIRS=devhelp examples
+endif
# The top-level SGML file.
DOC_MAIN_XML_FILE=gnome-xml.xml
--
2.1.3
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment