]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mowgli/home/html/Makefile
The list of persons in the "By Site" ordering is now also
[helm.git] / helm / mowgli / home / html / Makefile
index 00377aa71d70dac43bfabde9013cacf4d85cdbbe..db2933ce61f333b241c6c33de2338b30bf89032b 100644 (file)
@@ -40,8 +40,6 @@ PEOPLE = \
                people/nijmegen/wiedijk.html \
                people/trusted-logic/bolignano.html
 
-PEOPLE_SOURCE = $(PEOPLE:%.html=$(XMLROOT)/%.xml)
-
 DOCUMENTS = \
             index.html \
             home.html \
@@ -163,24 +161,9 @@ project-objectives.html: $(XMLROOT)/project-objectives.xml \
        $(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