? docs/tutorial/db_custlayer.xsl
Index: docs/tutorial/Makefile.am
===================================================================
RCS file: /cvs/gnome/gtkmm-root/doc-tutorial/Makefile.am,v
retrieving revision 1.22
diff -u -r1.22 Makefile.am
--- docs/tutorial/Makefile.am	14 Mar 2003 23:37:57 -0000	1.22
+++ docs/tutorial/Makefile.am	21 Feb 2005 09:49:49 -0000
@@ -7,6 +7,7 @@
 EXTRA_DIST = README insert_example_code.pl gtkmm-tut.xml gtkmm-tut-with-examples.xml html
 
 DOCBOOK_STYLESHEET ?= http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
+DOCBOOK_PHPWEBNOTES_CUSTLAYER ?= db_custlayer.xsl
 
 # Create a DocBook source file that doesn't have the examples' comments blocks:
 gtkmm-tut-with-examples.xml: gtkmm-tut.xml insert_example_code.pl
@@ -18,6 +19,12 @@
 	$(mkinstalldirs) html
 	xsltproc -o html/ --xinclude --catalogs $(DOCBOOK_STYLESHEET) $<
 
+# Create a version of the tutorial that has phpwebnotes code in it.
+html/index.php: gtkmm-tut-with-examples.xml
+	-rf -rf html
+        $(mkinstalldirs) html
+        xsltproc -o html/ --xinclude --catalogs $(DOCBOOK_PHPWEBNOTES_CUSTLAYER) $<
+
 validate_original: gtkmm-tut.xml
 	xmllint --xinclude --valid --noout --catalogs $<
 
