web/hosts/www Makefile.in,1.22,1.23

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

Modified Files:
	Makefile.in 
Log Message:
build the fresco tutorial as part of the website

Index: Makefile.in
===================================================================
RCS file: /cvs/fresco/web/hosts/www/Makefile.in,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- Makefile.in	8 Dec 2002 19:04:23 -0000	1.22
+++ Makefile.in	21 Jan 2003 21:06:03 -0000	1.23
@@ -1,7 +1,15 @@
 srcdir	:= @abs_srcdir@
 
+ifndef (@fresco_doc@,)
+subdirs:= tutorial
+endif
+
 include ../../config.mk
 
+action	:= all
+
+.PHONY: all $(subdirs)
+
 pages	:= index.html status.html screenshots.html \
          news.html newsarchive.html news1998.html news1999.html \
          news2000.html news2001.html news2002.html \
@@ -15,7 +23,11 @@
 
 vpath %.xml $(srcdir)
 
-all: $(pages) snapshots.html tutorial-header.html
+all: $(pages) snapshots.html tutorial-header.html $(subdirs)
+
+$(subdirs):
+	@echo making $(action) in $@
+	$(MAKE) -C $@ $(action)
 
 install: $(pages) snapshots.html tutorial-header.html
 	mkdir -p $(sitedir)/root
@@ -33,6 +45,7 @@
 	if [ ! -e $(sitedir)/root/docs ] ; then \
 	  ln -s $(topdir)/data/docs $(sitedir)/root/docs ; \
 	fi
+	$(MAKE) action="install" sitedir=$(sitedir)
 
 %.html:	%.xml $(data) menu.xml $(xsl)
 	@echo generating $@
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.