[bayescl-cvs] CVS update: public_html/webpage.dtd	public_html/web2html.xsl public_html/project2web.xsl	public_html/index.xml public_html/Makefile	public_html/project2html.xsl 
    Anthony Ventimiglia 
    aventimiglia at common-lisp.net
       
    Wed Nov 26 19:08:22 UTC 2003
    
    
  
Update of /project/bayescl/cvsroot/public_html
In directory common-lisp.net:/tmp/cvs-serv7549
Modified Files:
	index.xml Makefile 
Added Files:
	webpage.dtd web2html.xsl project2web.xsl 
Removed Files:
	project2html.xsl 
Log Message:
Working towards a generic XML application that can be used to describe
and document projects.
Projects are described and summarized with project.dtd
Wep pages are described with webpage.dtd
The Stylesheets as of now are used to convert project descriptions to
HTML. I will probably make a separated dtd for documentation and use a
stylesheet to convert the documentation to webpage.dtd xml
Date: Wed Nov 26 14:08:21 2003
Author: aventimiglia
Index: public_html/index.xml
diff -u public_html/index.xml:1.1.1.1 public_html/index.xml:1.2
--- public_html/index.xml:1.1.1.1	Tue Nov 25 16:51:35 2003
+++ public_html/index.xml	Wed Nov 26 14:08:21 2003
@@ -6,8 +6,13 @@
   <license type="LLGPL" link="http://opensource.franz.com/preamble.html"/>
   <summary>Bayescl is a Bayesian Pattern Filtering Library for Common Lisp.</summary>
   <resources>
-    <link uri="ftp://common-lisp.net/pub/project/bayescl/" description="Downloads"/>
-    <link uri="/documentation.html" description="Documentation"/>
+    <link uri="ftp://common-lisp.net/pub/project/bayescl/" 
+      description="Downloads"/> 
+    <link uri="documentation.html"
+      description="Documentation"/> 
+    <link 
+      uri="http://common-lisp.net/cgi-bin/viewcvs.cgi/bayescl/?cvsroot=bayescl"
+      description="ViewCVS" />
   </resources>
 </project>
 
Index: public_html/Makefile
diff -u public_html/Makefile:1.1 public_html/Makefile:1.2
--- public_html/Makefile:1.1	Tue Nov 25 17:09:52 2003
+++ public_html/Makefile	Wed Nov 26 14:08:21 2003
@@ -1,14 +1,33 @@
-# $Id: Makefile,v 1.1 2003/11/25 22:09:52 aventimiglia Exp $
+# $Id: Makefile,v 1.2 2003/11/26 19:08:21 aventimiglia Exp $
 
 APPLYXSLT=/usr/bin/sabcmd
 VALIDATE=/usr/bin/xmlproc_val
-
 VFLAGS=-rawxml
 
-PROJECT_SHEET=project2html.xsl
+PROJECT_SOURCES=index.xml
+
+PROJECT2WEB_XSL=project2web.xsl
+WEB2HTML_XSL=web2html.xsl
+
+WEB_SOURCES=index.web.xml
+
+HTML_PAGES=index.html
+
+CLEAN_TARGETS=index.web.xml $(HTML_PAGES)
+
+all:$(HTML_PAGES)
+
+%.web.xml:%.xml $(PROJECT2WEB_XSL)
+	$(APPLYXSLT) $(PROJECT2WEB_XSL) $< $@
+
+%.html:%.web.xml
+	$(APPLYXSLT) $(WEB2HTML_XSL) $< $@
+
+clean:
+	for f in $(CLEAN_TARGETS); do test -f $$f && rm -v $$f; done
+
+
 
-index.html: index.xml $(PROJECT_SHEET)
-	$(APPLYXSLT) $(PROJECT_SHEET) $< $@
 
 
 
    
    
More information about the Bayescl-cvs
mailing list