#DESTDIR = /projects/mowgli/public_html
DESTDIR = /tmp/mowgli
XSLTP = xsltproc --param current-date "'`date`'"
TEMPLATESROOT = ../templates
XMLROOT = ../xml
XSLROOT = ../xsl
PEOPLE = \
people/aei/kelley.html \
people/aei/schutz.html \
people/aei/velden.html \
people/aei/wegner.html \
people/bologna/asperti.html \
people/bologna/guidi.html \
people/bologna/padovani.html \
people/bologna/sacerdoti.html \
people/bologna/schena.html \
people/dfki/kohlhase.html \
people/dfki/melis.html \
people/dfki/siekmann.html \
people/inria/amerkad.html \
people/inria/bertot.html \
people/inria/chicli.html \
people/inria/delahaye.html \
people/inria/herbelin.html \
people/inria/naciri.html \
people/inria/pottier.html \
people/inria/rideau.html \
people/inria/thery.html \
people/nijmegen/barendregt.html \
people/nijmegen/barreiro.html \
people/nijmegen/cohen.html \
people/nijmegen/cruz-filipe.html \
people/nijmegen/geuvers.html \
people/nijmegen/niqui.html \
people/nijmegen/stein.html \
people/nijmegen/synek.html \
people/nijmegen/wiedijk.html \
people/trusted-logic/bolignano.html
PEOPLE_SOURCE = $(PEOPLE:%.html=$(XMLROOT)/%.xml)
DOCUMENTS = \
index.html \
home.html \
menu.html \
project-management.html \
project_summary.html \
consortium.html \
project.html \
news.html \
events.html \
deadlines.html \
people-list.html \
deliverables/distribution/d5a.html \
deliverables/distribution/d5b.html \
deliverables/information-dissemination-and-exploitation/d7a.html \
deliverables/information-dissemination-and-exploitation/d7b.html \
deliverables/interfaces/d4a.html \
deliverables/interfaces/d4b.html \
deliverables/interfaces/d4c.html \
deliverables/interfaces/d4d.html \
deliverables/interfaces/d4e.html \
deliverables/metadata/d3a.html \
deliverables/metadata/d3b.html \
deliverables/project-management/d0a.html \
deliverables/project-management/d0b.html \
deliverables/project-management/d0c.html \
deliverables/project-management/d0d.html \
deliverables/requirement-analysis/d1a.html \
deliverables/requirement-analysis/d1b.html \
deliverables/requirement-analysis/d1c.html \
deliverables/testing-and-validation/d6a.html \
deliverables/testing-and-validation/d6b.html \
deliverables/testing-and-validation/d6c.html \
deliverables/testing-and-validation/d6d.html \
deliverables/transformation/d2a.html \
deliverables/transformation/d2b.html \
deliverables/transformation/d2c.html \
deliverables/transformation/d2d.html \
deliverables/transformation/d2e.html \
deliverables/transformation/d2f.html \
deliverables/transformation/d2g.html \
members/index.html \
sites/aei.html \
sites/bologna.html \
sites/dfki.html \
sites/inria.html \
sites/nijmegen.html \
sites/trusted-logic.html \
publications/others/category_al.html \
publications/others/crimea2001_apss.html \
publications/others/cup_s.html \
publications/others/cup_s2.html \
publications/others/extreme2001_apss.html \
publications/others/har_bg.html \
publications/others/jep_ws.html \
publications/others/jep_wwsw.html \
publications/others/jlp2001_scg.html \
publications/others/mathml2000_apss.html \
publications/others/mscs_gb.html \
publications/others/tcs2001_og.html \
publications/others/tphols2000_gwz.html \
publications/others/tphols2001_apss.html \
work-packages/index.html \
work-packages/distribution.html \
work-packages/information-dissemination-and-exploitation.html \
work-packages/interfaces.html \
work-packages/metadata.html \
work-packages/project-management.html \
work-packages/requirement-analysis.html \
work-packages/testing-and-validation.html \
work-packages/transformation.html \
$(PEOPLE)
all: $(DOCUMENTS)
home.html: $(TEMPLATESROOT)/home.html.top $(TEMPLATESROOT)/home.html.bot \
$(XMLROOT)/news.xml \
$(XMLROOT)/other-events.xml \
$(XSLROOT)/latest-news.xsl \
$(XSLROOT)/sort-events-by-beginning.xsl \
$(XSLROOT)/approaching-deadlines.xsl
cat $(TEMPLATESROOT)/home.html.top >$@
$(XSLTP) $(XSLROOT)/latest-news.xsl $(XMLROOT)/news.xml >>$@
# cat $(TEMPLATESROOT)/home.html.mid >>$@
# $(XSLTP) $(XSLROOT)/sort-events-by-beginning.xsl $(XMLROOT)/other-events.xml | $(XSLTP) $(XSLROOT)/approaching-deadlines.xsl - >>$@
cat $(TEMPLATESROOT)/home.html.bot >>$@
index.html: $(TEMPLATESROOT)/index.html
cp $< $@
menu.html: $(TEMPLATESROOT)/menu.html
sed s/\@DATE\@/"`date`"/ $< >$@
project-management.html: $(TEMPLATESROOT)/project-management.html
cp $< $@
project_summary.html: $(TEMPLATESROOT)/project_summary.html
cp $< $@
people-list.html: $(XSLROOT)/person-entry.xsl $(XSLROOT)/people-list.xsl $(PEOPLE_SOURCE)
( \
echo "