OUTPUTFILES = \
../default.css \
../index.html \
../screenshots.html \
../download.html \
../contact.html \
all : $(OUTPUTFILES)
clean :
rm -vf $(OUTPUTFILES)
../default.css : default.css
cp -v $< $@
../%.html :: %.xml default.xsl Makefile
FILENAME=$<; \
echo $${FILENAME%%.xml}; \
xalan -PARAM filename "'$${FILENAME%%.xml}'" -IN $< -OUT $@ -XSL default.xsl
upload: all
rsync -czrv ../ grumbel@pingus.seul.org:/home/grumbel/public_html/tmp/wargus/
commit: all
(cd ..; cvs commit -m "automatic webpage update" )
update: all
(cd ..; cvs commit -m "automatic webpage update" *.html)
#tidy -asxml -indent -quiet -modify $@
.PHONY: all clean upload
# EOF #