# -*- Makefile -*- # # rdf: # dc:title Makefile # dc:date 2003-05-12 # cvs:date $Date$ # dc:creator http://norman.walsh.name/knows/who#norman-walsh # dc:rights Copyright © 2003 Norman Walsh. All rights reserved. # dc:description Makefile for the root of the site. Incomplete at present. CWM=python /projects/w3c/swap/cwm.py -rdf=d XSLT=saxon XSLTOPT= SOURCE= TIDY=/sourceforge/docbook/buildtools/untidy TIDYOPTS=-q -utf8 -mn -asxml BUILDOPTS= all: allupdates dates.html allupdates: allrdf bin/update-comments bin/update-topics bin/update-tags bin/update-seealso @growltell -m "Norman.Walsh.name build complete" "Makefile" allrdf: foaf.rdf bin/hglog2dates > knows/modified.n3 $(MAKE) -C knows rdf rm -f home.html bin/buildrdf $(BUILDOPTS) foaf.rdf: /home/ndw/.foaf /home/ndw/hiptop/rdf/pim.rdf /home/ndw/hiptop/style/makefoaf.xsl saxon $< /home/ndw/hiptop/style/makefoaf.xsl ,$@ cat foaf.rdf | grep -v wot:sigdate > ,foaf.rdf.current cat ,foaf.rdf | grep -v wot:sigdate > ,foaf.rdf.new if diff ,foaf.rdf.current ,foaf.rdf.new; then rm ,$@; else bin/signfoaf; fi rm -f ,foaf.rdf.current ,foaf.rdf.new dates.html: knows/norman.walsh.name.rdf $(MAKE) -C knows html $(MAKE) taxonomy taxonomy: feeds $(XSLT) $(XSLTOPT) knows/norman.walsh.name.rdf style/taxonomy.xsl $(TIDY) $(TIDYOPTS) coverage.html dates.html subjects.html topics.html $(XSLT) $(XSLTOPT) knows/norman.walsh.name.rdf style/find-thumbs.xsl ,index.images mv ,index.images index.images curl -o atom/itinerary.xml http://localhost:8300/atomitinerary.xqy saxon atom/itinerary.xml style/upcoming.xsl include/upcoming.html feeds: if wget -q -O atom/upcoming.new http://upcoming.yahoo.com/syndicate/v2/my_events/10762; then mv atom/upcoming.new atom/upcoming.rss; else rm atom/upcoming.new; fi if wget -q -O atom/dopplr.new http://www.dopplr.com/traveller/nwalsh/feed/mytrips/c554343d0032c1bf973d087590e4fe6e7098a1f3d779054211366fea1ba995fc; then mv atom/dopplr.new atom/dopplr.xml; else rm atom/dopplr.new; fi essay: $(XSLT) $(SOURCE).xml style/essay2html.xsl - $(XSLTOPT) $(TIDY) $(TIDYOPTS) $(SOURCE).html @growltell -m "$(SOURCE)" "Essay formatted" @echo Done. rdf: $(XSLT) $(SOURCE).xml style/essay2rdf.xsl $(SOURCE).rdf $(XSLTOPT) rsync: bin/dorsync $(HOST)