From e42d69c953858ed0a4b93cd346aa01e733c8a6ff Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Thu, 13 Jul 2006 14:19:53 +0000 Subject: Do not version the installed tarball, make the build actually work --- docs/Makefile.am | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'docs/Makefile.am') diff --git a/docs/Makefile.am b/docs/Makefile.am index 1c4917e..c4901f9 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -21,7 +21,7 @@ XMLFILES = \ reference/pygobject-maincontext.xml \ reference/pygobject-mainloop.xml -HTMLdir = $(datadir)/devhelp/books/pygobject-$(REF_VERSION) +HTMLdir = $(datadir)/devhelp/books/pygobject HTML_DATA = \ html/class-gobjectgboxed.html \ html/class-gobjectginterface.html \ @@ -34,16 +34,17 @@ HTML_DATA = \ html/gobject-functions.html \ html/index.html \ html/index.sgml \ - html/pygobject-$(REF_VERSION).devhelp + html/pygobject.devhelp -BUILT_SOURCES = $(HTML_DATA) -CLEANFILES = $(HTML_DATA) +BUILT_SOURCES = build_stamp $(HTML_DATA) +CLEANFILES = build_stamp $(HTML_DATA) -%.html: reference ${XMLFILES} ${XSLFILES} +build_stamp: reference ${XMLFILES} ${XSLFILES} xsltproc --nonet --xinclude -o html/ \ - --stringparam gtkdoc.bookname "pygobject-$(REF_VERSION)" \ + --stringparam gtkdoc.bookname "pygobject" \ --stringparam gtkdoc.version ${REF_VERSION} \ ref-html-style.xsl reference/pygobject-ref.xml + touch $@ pdf: reference ${XMLFILES} ${XSLFILES} xsltproc --nonet --xinclude -o pygobject-ref.fo pdf-style.xsl \ -- cgit