[vala/0.14] docs: Rename the .devhelp2 file to match the directory name
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.14] docs: Rename the .devhelp2 file to match the directory name
- Date: Wed, 30 Nov 2011 14:26:16 +0000 (UTC)
commit 419832ffd5e9c497cc602c31dd9e009e153e02a1
Author: Jason Conti <jason conti gmail com>
Date: Mon Nov 21 00:17:23 2011 +0100
docs: Rename the .devhelp2 file to match the directory name
When searching for devhelp books, devhelp expects the .devhelp2 filename
to match the directory name.
Fixes bug 664167.
doc/vala/Makefile.am | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/doc/vala/Makefile.am b/doc/vala/Makefile.am
index 9e359c9..c980cf6 100644
--- a/doc/vala/Makefile.am
+++ b/doc/vala/Makefile.am
@@ -1,6 +1,8 @@
NULL =
-bookdir=$(datadir)/devhelp/books/vala PACKAGE_SUFFIX@
+book_name=vala PACKAGE_SUFFIX@
+
+bookdir=$(datadir)/devhelp/books/$(book_name)
chapter_data = \
overview.html \
@@ -21,7 +23,7 @@ chapter_data = \
built_data = \
index.html \
$(chapter_data) \
- vala.devhelp2 \
+ $(book_name).devhelp2 \
$(NULL)
if HAVE_XSLTPROC
@@ -36,8 +38,8 @@ index.html: $(book_sources) xhtml.xsl
$(chapter_data): index.html
-vala.devhelp2: $(book_sources) devhelp.xsl
- $(AM_V_GEN)$(XSLTPROC) --xinclude $(srcdir)/devhelp.xsl $(srcdir)/index.xml > vala.devhelp2
+$(book_name).devhelp2: $(book_sources) devhelp.xsl
+ $(AM_V_GEN)$(XSLTPROC) --xinclude $(srcdir)/devhelp.xsl $(srcdir)/index.xml > $(book_name).devhelp2
book_sources = \
index.xml \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]