[tracker] docs: Fix make distcheck



commit a1c610d00860ccd4dede88abacb24b423dbda18f
Author: Jürg Billeter <j bitron ch>
Date:   Thu Mar 4 18:22:24 2010 +0100

    docs: Fix make distcheck

 docs/reference/ontology/Makefile.am |    1 +
 docs/tools/gen-doc.sh               |    6 ++++++
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/ontology/Makefile.am b/docs/reference/ontology/Makefile.am
index e9b2b77..8e360aa 100644
--- a/docs/reference/ontology/Makefile.am
+++ b/docs/reference/ontology/Makefile.am
@@ -16,6 +16,7 @@ MKDB_OPTIONS = --sgml-mode --output-format=xml
 
 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
 content_files =						\
+	fts-properties.xml				\
 	nie-ontology.xml				\
 	nco-ontology.xml				\
 	nmo-ontology.xml				\
diff --git a/docs/tools/gen-doc.sh b/docs/tools/gen-doc.sh
index 0be4134..1385595 100755
--- a/docs/tools/gen-doc.sh
+++ b/docs/tools/gen-doc.sh
@@ -6,6 +6,12 @@
 #
 BUILD_DIR="../reference/ontology/"
 
+if ! [ -e $PWD/gen-doc.sh ]; then
+	# building documentation out of tree is not supported
+	# as documentation is distributed in release tarballs
+	exit
+fi
+
 echo "Preparing file full text index properties (fts-properties.xml)"
 
 echo "<?xml version='1.0' encoding='UTF-8'?>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]