[gtk+/gtk-2-22] Actually build the tutorial if enabled
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-22] Actually build the tutorial if enabled
- Date: Sat, 26 Jun 2010 01:14:48 +0000 (UTC)
commit 946c1ca1367e9ada8f19bdcbcf44233235ed8bf6
Author: Colin Walters <walters verbum org>
Date: Fri Jun 25 21:03:34 2010 -0400
Actually build the tutorial if enabled
Previously we required an explicit "make html" in this subdirectory
for no reason. Just build it if make is invoked at the toplevel
and we have docbook.
docs/tutorial/Makefile.am | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/docs/tutorial/Makefile.am b/docs/tutorial/Makefile.am
index 5448bd2..488e09d 100644
--- a/docs/tutorial/Makefile.am
+++ b/docs/tutorial/Makefile.am
@@ -37,7 +37,7 @@ EXTRA_DIST += \
images/tictactoe.png
if HAVE_DOCBOOK
-html:
+html: gtk-tut.sgml
if test -w $(srcdir); then \
(cd $(srcdir); \
db2html gtk-tut.sgml; \
@@ -47,11 +47,13 @@ html:
cp images/*.png html/images); \
fi
-pdf:
+pdf: gtk-tut.sgml
if test -w $(srcdir); then \
(cd $(srcdir); db2pdf gtk-tut.sgml); \
fi
+all-local: html
+
dist-hook: html
cp -Rp $(srcdir)/html $(distdir)
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]