[gtk+] Actually build the tutorial if enabled



commit ae16b31038085f5d5f643a4e08dab747dadcb1c3
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]