This goes along with unbreaking the manual-build with libxslt < 1.1.27.
https://bugzilla.gnome.org/show_bug.cgi?id=779968
AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip])
AM_MAINTAINER_MODE([enable])
-PACKAGE_SUFFIX=-0.36
+API_VERSION=0.36
+PACKAGE_SUFFIX="-$API_VERSION"
dnl http://people.gnome.org/~walters/docs/build-api.txt
dnl We don't support separate builddir when building from git
echo \#buildapi-variable-no-builddir >/dev/null
+AC_SUBST(API_VERSION)
AC_SUBST(PACKAGE_SUFFIX)
AC_DEFINE_UNQUOTED(PACKAGE_SUFFIX, "$PACKAGE_SUFFIX", [Define to the suffix of this package])
<xsl:template match="articleinfo" mode="toc">
<xsl:apply-templates select="abstract"/>
<table class="c-document_version">
- <tr><td>Vala version:</td><td><xsl:apply-templates select="str:replace(edition, '-', '')"/></td></tr>
+ <tr><td>Vala version:</td><td><xsl:apply-templates select="edition"/></td></tr>
<tr><td>Release:</td><td><xsl:apply-templates select="releaseinfo/text()"/></td></tr>
<tr><td>Status:</td><td><xsl:apply-templates select="releaseinfo/remark"/></td></tr>
<tr><td>Copyright:</td>
<para>The Vala Reference Manual gives details on Vala's syntax and type system, including polymorphism using interfaces and type parameters (generics). Vala includes additional code generation routines, for example D-Bus inter-process communication and GTK+3 composite templates, these are only referred to in the Attributes section. The reference manual does not provide a tutorial for these features.</para>
<para>Vala is developed in a collaborative and self-supporting way by its users. They provide bug reports, documentation, patches, patch reviews and core development. Following this model of development the manual has an editable version at <ulink url="https://wiki.gnome.org/Projects/Vala/Manual">https://wiki.gnome.org/Projects/Vala/Manual</ulink> .</para>
</abstract>
-<edition>@PACKAGE_SUFFIX@</edition>
+<edition>@API_VERSION@</edition>
<releaseinfo>@VERSION@
<remark>Draft, document contains omissions and might contain errors</remark>
</releaseinfo>