docs: fix version.entities include problems
authorTim-Philipp Müller <tim@centricular.net>
Sat, 26 Jun 2010 11:46:26 +0000 (12:46 +0100)
committerDavid Schleef <ds@schleef.org>
Wed, 21 Jul 2010 20:29:28 +0000 (13:29 -0700)
Copy the generated version.entities file into the xml/ directory,
which is where it's expected. Fixes include warnings when building
docs. There doesn't seem to be a way to achieve this without
modifying the original gtk-doc.make file yet.

gtk-doc.make

index 63adaed..997c513 100644 (file)
@@ -111,6 +111,7 @@ sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(
        @-chmod -R u+w $(srcdir)
        @cd $(srcdir) && \
        gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS)
+       @cp version.entities xml/
        @touch sgml-build.stamp
 
 sgml.stamp: sgml-build.stamp