web/hosts/www/tutorial Makefile.in,1.1,1.2

Stefan Seefeld <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/web/hosts/www/tutorial
In directory purcel:/tmp/cvs-serv29392/hosts/www/tutorial

Modified Files:
	Makefile.in 
Log Message:
integrate tutorial build

Index: Makefile.in
===================================================================
RCS file: /cvs/fresco/web/hosts/www/tutorial/Makefile.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile.in	21 Jan 2003 21:06:04 -0000	1.1
+++ Makefile.in	23 Jan 2003 08:13:25 -0000	1.2
@@ -3,7 +3,11 @@
 
 include ../../../config.mk
 
-all:
+pages	:= header.html
+
+vpath %.xml $(srcdir)
+
+all:	$(pages)
 	$(MAKE) -f $(fresco_doc)/Makefile xsl=$(srcdir)/tutorial.xsl
 
 install: all
@@ -12,6 +16,10 @@
 	cp *.html $(sitedir)/root/tutorial/
 	cp figures/*.png $(sitedir)/root/tutorial/figures/
 	cp $(topdir)/xsl/tutorial.css $(sitedir)/root/tutorial/
+
+%.html:	%.xml
+	@echo generating $@
+	$(xsltproc) --stringparam datadir $(topdir)/data --stringparam srcdir $(srcdir)/.. -o $@ $(topdir)/xsl/fresco.xsl $<
 
 clean:
 	rm -rf *.html figures
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.