diff options
| author | John Finlay <finlay@src.gnome.org> | 2006-08-10 23:47:01 +0000 |
|---|---|---|
| committer | John Finlay <finlay@src.gnome.org> | 2006-08-10 23:47:01 +0000 |
| commit | 4246765f4c9ea58a70b1e34d787bd55223407546 (patch) | |
| tree | 4f9082c3fa2a8b75229e07f25988c0f07c8a7a5d /docs/Makefile.am | |
| parent | 354ca55447c85b745af6b51a58a934d6e057f8f1 (diff) | |
| download | pygobject-4246765f4c9ea58a70b1e34d787bd55223407546.tar.gz pygobject-4246765f4c9ea58a70b1e34d787bd55223407546.tar.xz pygobject-4246765f4c9ea58a70b1e34d787bd55223407546.zip | |
Use builddate.xml for the builddate entity and have builddate.xml be
* docs/reference/entities.docbook.in:
* docs/reference/pygobject-ref.xml:
* docs/Makefile.am:
* configure.ac:
Use builddate.xml for the builddate entity and have builddate.xml be
updated when the docs are built not during configure time.
Diffstat (limited to 'docs/Makefile.am')
| -rw-r--r-- | docs/Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am index 3195884..085c7db 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -47,11 +47,13 @@ HTML_DATA = \ BUILT_SOURCES = \ build_stamp \ + reference/builddate.xml \ $(HTML_DATA) CLEANFILES = \ build_stamp \ pygobject-ref.* \ + reference/builddate.xml \ $(HTML_DATA) EXTRA_DIST = \ @@ -65,7 +67,10 @@ REFERENCE_DEPS = \ $(HTML_DATA): build_stamp -build_stamp: $(REFERENCE_DEPS) +reference/builddate.xml: $(REFERENCE_DEPS) + $(PYTHON) -c 'import datetime; print datetime.date.today()' > $@ + +build_stamp: $(REFERENCE_DEPS) reference/builddate.xml xsltproc --nonet --xinclude -o $(BUILDDIR)/html/ \ --path $(BUILDDIR)/reference:$(srcdir)/reference \ --stringparam gtkdoc.bookname "pygobject" \ @@ -74,7 +79,7 @@ build_stamp: $(REFERENCE_DEPS) $(srcdir)/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 |
