summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Finlay <finlay@src.gnome.org>2006-07-20 23:35:34 +0000
committerJohn Finlay <finlay@src.gnome.org>2006-07-20 23:35:34 +0000
commit209e68a308bf85c4ec44e6ac98175adcf68a8677 (patch)
tree11157043db7978e243498f81dd274b488e553074
parent5acdde3f452e5d5fa16af8307ffc657f27446cae (diff)
downloadpygobject-209e68a308bf85c4ec44e6ac98175adcf68a8677.tar.gz
pygobject-209e68a308bf85c4ec44e6ac98175adcf68a8677.tar.xz
pygobject-209e68a308bf85c4ec44e6ac98175adcf68a8677.zip
Make version.xml dependent on config.h Make builddate.xml dependent on
* docs/Makefile.am: Make version.xml dependent on config.h Make builddate.xml dependent on REFERENCE_DEPS. Add builddate.xml to build_stamp and pdf dependencies. Add pdf files to cleanup.
-rw-r--r--ChangeLog6
-rw-r--r--docs/Makefile.am10
2 files changed, 11 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a6b99f..616bd1e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-07-20 John Finlay <finlay@moeraki.com>
+
+ * docs/Makefile.am: Make version.xml dependent on config.h
+ Make builddate.xml dependent on REFERENCE_DEPS. Add builddate.xml to
+ build_stamp and pdf dependencies. Add pdf files to cleanup.
+
2006-07-20 Johan Dahlin <jdahlin@async.com.br>
* configure.ac:
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 8883546..c652b75 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -51,6 +51,7 @@ CLEANFILES = \
build_stamp \
reference/builddate.xml \
reference/version.xml \
+ pygobject-ref.* \
$(HTML_DATA)
EXTRA_DIST = \
@@ -58,26 +59,25 @@ EXTRA_DIST = \
$(XSLFILES)
REFERENCE_DEPS = \
- reference/builddate.xml \
reference/version.xml \
reference \
$(XMLFILES) \
$(XSLFILES)
-reference/builddate.xml:
+reference/builddate.xml: $(REFERENCE_DEPS)
@$(PYTHON) -c 'import datetime; print datetime.date.today()' > $@
-reference/version.xml:
+reference/version.xml: $(top_srcdir)/config.h
@echo $(FULL_VERSION) > $@
-build_stamp: $(REFERENCE_DEPS)
+build_stamp: $(REFERENCE_DEPS) reference/builddate.xml
xsltproc --nonet --xinclude -o html/ \
--stringparam gtkdoc.bookname "pygobject" \
--stringparam gtkdoc.version ${REF_VERSION} \
xsl/ref-html-style.xsl reference/pygobject-ref.xml
touch $@
-pdf: $(REFERENCE_DEPS)
+pdf: $(REFERENCE_DEPS) reference/builddate.xml
xsltproc --nonet --xinclude -o pygobject-ref.fo xsl/pdf-style.xsl \
reference/pygobject-ref.xml
pdfxmltex pygobject-ref.fo >output </dev/null