[build] Remove last user of CLUTTER_MAJORMINOR

We should always use CLUTTER_API_VERSION instead.
This commit is contained in:
Emmanuele Bassi 2009-08-14 13:08:59 +01:00
parent 5274b4e4c4
commit b31e2d59bd

View File

@ -1,4 +1,4 @@
DOCDIR = $(DESTDIR)/$(datadir)/doc/@PACKAGE@-@CLUTTER_MAJORMINOR@ DOCDIR = $(DESTDIR)/$(datadir)/doc/@PACKAGE@-@CLUTTER_API_VERSION@
HTML_FILES = html/*.html HTML_FILES = html/*.html
IMAGE_FILES = images/*.png IMAGE_FILES = images/*.png
EXTRA_DIST = clutter-manual.xml.in manual.xsl style.css $(srcdir)/$(IMAGE_FILES) EXTRA_DIST = clutter-manual.xml.in manual.xsl style.css $(srcdir)/$(IMAGE_FILES)
@ -7,12 +7,12 @@ CLEANFILES = pdf-build.stamp txt-build.stamp htmldoc-build.stamp clutter-manual.
pdf-build.stamp: clutter-manual.xml pdf-build.stamp: clutter-manual.xml
SP_ENCODING=XML SP_CHARSET_FIXED=YES \ SP_ENCODING=XML SP_CHARSET_FIXED=YES \
$(JW) -b pdf $(srcdir)/clutter-manual.xml && \ $(JW) -b pdf $(srcdir)/clutter-manual.xml && \
mv $(srcdir)/clutter-manual.pdf clutter-manual-@CLUTTER_MAJORMINOR@.pdf && \ mv $(srcdir)/clutter-manual.pdf clutter-manual-@CLUTTER_API_VERSION@.pdf && \
touch pdf-build.stamp touch pdf-build.stamp
txt-build.stamp: clutter-manual.xml txt-build.stamp: clutter-manual.xml
$(XMLTO) txt $(srcdir)/clutter-manual.xml && \ $(XMLTO) txt $(srcdir)/clutter-manual.xml && \
mv $(srcdir)/clutter-manual.txt clutter-manual-@CLUTTER_MAJORMINOR@.txt && \ mv $(srcdir)/clutter-manual.txt clutter-manual-@CLUTTER_API_VERSION@.txt && \
touch txt-build.stamp touch txt-build.stamp
htmldoc-build.stamp: clutter-manual.xml htmldoc-build.stamp: clutter-manual.xml
@ -57,8 +57,8 @@ install-data-local:
fi \ fi \
done; \ done; \
$(INSTALL_DATA) $(srcdir)/style.css $(DOCDIR)/html/style.css; \ $(INSTALL_DATA) $(srcdir)/style.css $(DOCDIR)/html/style.css; \
$(INSTALL_DATA) $(srcdir)/clutter-manual-@CLUTTER_MAJORMINOR@.txt $(DOCDIR)/clutter-manual-@CLUTTER_MAJORMINOR@.txt; \ $(INSTALL_DATA) $(srcdir)/clutter-manual-@CLUTTER_API_VERSION@.txt $(DOCDIR)/clutter-manual-@CLUTTER_API_VERSION@.txt; \
$(INSTALL_DATA) $(srcdir)/clutter-manual-@CLUTTER_MAJORMINOR@.pdf $(DOCDIR)/clutter-manual-@CLUTTER_MAJORMINOR@.pdf; \ $(INSTALL_DATA) $(srcdir)/clutter-manual-@CLUTTER_API_VERSION@.pdf $(DOCDIR)/clutter-manual-@CLUTTER_API_VERSION@.pdf; \
fi fi
.PHONY : doc .PHONY : doc