summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2008-09-11 17:31:07 -0400
committerBehdad Esfahbod <behdad@behdad.org>2008-09-11 17:31:07 -0400
commitfe31c35d8672117a8586591abada4aa1b42a07ff (patch)
tree73adca64a8b4d44ed89990fb3fdc489309e69639 /doc
parent694fee9e7c3073613359d9734f64f65964c3aa53 (diff)
[doc] Don't rebuild after every configure run
The version.xml file was rebuilt all the time and forcing a full doc rebuild. Not anymore unless cairo-version.h was changed.
Diffstat (limited to 'doc')
-rw-r--r--doc/public/Makefile.am13
-rw-r--r--doc/public/version.xml.in1
2 files changed, 7 insertions, 7 deletions
diff --git a/doc/public/Makefile.am b/doc/public/Makefile.am
index e5ed28fe..dfc26c8b 100644
--- a/doc/public/Makefile.am
+++ b/doc/public/Makefile.am
@@ -32,9 +32,13 @@ MKDB_OPTIONS=--sgml-mode --output-format=xml
MKTMPL_OPTIONS=
# Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE)
-content_files = \
- version.xml \
- language-bindings.xml
+content_files = \
+ language-bindings.xml \
+ version.xml \
+ $(NULL)
+
+version.xml: $(top_srcdir)/cairo-version.h
+ echo $(CAIRO_VERSION_MAJOR).$(CAIRO_VERSION_MICRO).$(CAIRO_VERSION_MINOR) > $@
# Images to copy into HTML directory
HTML_IMAGES =
@@ -46,9 +50,6 @@ include $(top_srcdir)/build/Makefile.am.gtk-doc
dist-hook: doc
-# Version information for marking the documentation
-EXTRA_DIST += version.xml.in
-
check: doc
TESTS_ENVIRONMENT = srcdir="$(srcdir)" top_srcdir="$(top_srcdir)" MAKE="$(MAKE)"
diff --git a/doc/public/version.xml.in b/doc/public/version.xml.in
deleted file mode 100644
index f5e3fc7d..00000000
--- a/doc/public/version.xml.in
+++ /dev/null
@@ -1 +0,0 @@
-@CAIRO_VERSION_MAJOR@.@CAIRO_VERSION_MINOR@.@CAIRO_VERSION_MICRO@