people/nijmegen/wiedijk.html \
people/trusted-logic/bolignano.html
-PEOPLE_SOURCE = $(PEOPLE:%.html=$(XMLROOT)/%.xml)
-
DOCUMENTS = \
index.html \
home.html \
$(XSLROOT)/xhtml-content.xsl
$(XSLTP) --param path_to_top "'.'" -o $@ $(XSLROOT)/xhtml-content.xsl $<
-people-list.html: $(XSLROOT)/person-entry.xsl $(XSLROOT)/people-list.xsl $(PEOPLE_SOURCE)
- ( \
- echo "<people>" >/tmp/people-list.xml; \
- SITES=`cd $(XMLROOT)/sites; ls *.xml | cut -d'.' -f1`; \
- for i in $$SITES; \
- do \
- echo "<from site=\"$$i\">" >>/tmp/people-list.xml; \
- SITE_PEOPLE=`cd $(XMLROOT)/people/$$i; ls *.xml | cut -d'.' -f1`; \
- for j in $$SITE_PEOPLE; \
- do \
- echo "<person file=\"$$j\"/>" >>/tmp/people-list.xml; \
- done; \
- echo "</from>" >>/tmp/people-list.xml; \
- done; \
- echo "</people>" >>/tmp/people-list.xml \
- )
- $(XSLTP) -o people-list.html $(XSLROOT)/people-list.xsl /tmp/people-list.xml
-# rm -rf /tmp/people-list.xml
+people-list.html: $(XMLROOT)/people/index.xml $(XSLROOT)/person-entry.xsl \
+ $(XSLROOT)/people-list.xsl
+ $(XSLTP) -o $@ $(XSLROOT)/people-list.xsl $<
consortium.html: $(XMLROOT)/consortium.xml \
$(XSLROOT)/consortium.xsl