diff --git a/common.mk.in b/common.mk.in index 8d16044..a31db5f 100644 --- a/common.mk.in +++ b/common.mk.in @@ -29,11 +29,9 @@ CLASSPATH = /users/www/saxon8/saxon8.jar $(OUTDIR)%.html: %.xml $(ROOT)/csc.dtd $(ROOT)/xsl/*.xsl directory.xml java -classpath $(CLASSPATH) net.sf.saxon.Transform -o $@ $< $(ROOT)/xsl/html.xsl $(XSLTARGS) - sed -i 's| xmlns=""||' $@ $(OUTDIR)%.atom: %.xml xsl/atom.xsl java -classpath $(CLASSPATH) net.sf.saxon.Transform -o $@ $< $(ROOT)/xsl/atom.xsl $(XSLTARGS) - sed -i 's| xmlns=""||' $@ $(OUTDIR)%.ics: %.xml perl scripts/xml2ics.pl $< > $@ diff --git a/events/Makefile b/events/Makefile index 79f1c49..178f2df 100644 --- a/events/Makefile +++ b/events/Makefile @@ -2,7 +2,4 @@ FILES = index.html old.html RELDIR = events/ include ../common.mk -build: - sed -i 's| xmlns=""||' $(OUTDIR)*.html - $(OUTDIR)index.html: ../events.xml diff --git a/media/Makefile b/media/Makefile index 3e5bc49..e5b3a9a 100644 --- a/media/Makefile +++ b/media/Makefile @@ -4,6 +4,3 @@ include ../common.mk $(OUTDIR)flash: ln -s ../flash $(OUTDIR)flash - -build: - sed -i 's| xmlns=""||' $(OUTDIR)*.html diff --git a/news/Makefile b/news/Makefile index 4ee1e4d..417f641 100644 --- a/news/Makefile +++ b/news/Makefile @@ -2,7 +2,4 @@ FILES = index.html RELDIR = news/ include ../common.mk -build: - sed -i 's| xmlns=""||' $(OUTDIR)*.html - $(OUTDIR)index.html: ../news.xml diff --git a/xsl/html.xsl b/xsl/html.xsl index ffd3d8d..a2eb1b3 100644 --- a/xsl/html.xsl +++ b/xsl/html.xsl @@ -45,10 +45,10 @@ - + - +