From ae16b31038085f5d5f643a4e08dab747dadcb1c3 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 25 Jun 2010 21:03:34 -0400 Subject: [PATCH] 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 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/tutorial/Makefile.am b/docs/tutorial/Makefile.am index 5448bd2960..488e09da36 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