]> Pileus Git - ~andy/gtk/commitdiff
Actually build the tutorial if enabled
authorColin Walters <walters@verbum.org>
Sat, 26 Jun 2010 01:03:34 +0000 (21:03 -0400)
committerColin Walters <walters@verbum.org>
Fri, 9 Jul 2010 20:16:48 +0000 (16:16 -0400)
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

index 5448bd2960158e850bcadf80456a312578425011..488e09da369b218867f27064e815aa732d4e37e7 100644 (file)
@@ -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