BASE=http://www.w3.org/Consortium/

SRCS=Overview.html mission.html org.html technology.html process.html membership.html history.html future.html presskit.html contact.html membership-faq.html membership-benefits.html join.html faq.html activities.html siteindex.html new-to-w3c.html directions.html meetings.html supporter-policy.html

TEMPLATES=about-w3c-src.html presskit-single-src.html membership-single-src.html business-case-single-src.html 

OBJS=about-w3c.html presskit-single.html membership-single.html business-case-single.html fees-php3-nav.xml fees-php3-foot.xml fee-history-php3-nav.xml fee-history-php3-foot.xml fee-200504-php3-nav.xml fee-200504-php3-foot.xml application-php3-foot.xml fee-200507-php3-nav.xml fee-200507-php3-foot.xml fee-200705-php3-nav.xml fee-200705-php3-foot.xml fee-200810-php3-nav.xml fee-200810-php3-foot.xml supporters-php3-foot.xml sup-php3-foot.xml nmfunds-php3-foot.xml

ADDNAV=addnav.xsl
ADDFOOTER=addfooter.xsl
ADDTOC=addtoc.xsl

CVSDIR=/w3ccvs/WWW/Consortium/

PHPSRCS=fees.php3

all: $(OBJS)

about-w3c.html: $(SRCS)

business-case-single.html:   membership.html

membership-single.html:      membership.html join.html membership-faq.html contact.html

presskit-single.html: Overview.html presskit.html technology.html history.html future.html membership.html

JAVA=PATH=$$PATH:/usr/local/java/bin/ java
# I wish there were a more portable path for this file...
SAXONJAR=/usr/local/jre_lib_ext/saxon8.jar
#See README for setting up tunnel
SAXON=$(JAVA) -jar $(SAXONJAR)
ENVS=LANG=en_US.UTF-8

public-groups.rdf: PG
PG:
	-@wget --quiet -N http://www.w3.org/2000/04/mem-news/public-groups.rdf

include Makefile-base

activities.html: addintros.xsl public-groups.rdf
	$(ENVS) $(SAXON) activities.html addintros.xsl |\
	$(ENVS) $(SAXON) - $(ADDNAV) base=$(BASE) current=$(BASE)$(basename $(@F)) |\
	$(ENVS) $(SAXON) - $(ADDFOOTER) > $@-tmp
	mv $@-tmp activities.html
	cvs ci -m"updated" activities.html

