Make events/news/index depend on events/news properly

This commit is contained in:
David Bartley 2007-10-09 00:02:29 -04:00
parent f10762bf6b
commit 1e6945810e
4 changed files with 7 additions and 1 deletions

View File

@ -24,3 +24,5 @@ members.xml:
echo '<memberlist>' >> $@
ceoquery memberlist | sort | awk -F \| '{ name = $$1; program = $$2; userid = $$3; gsub(/&/, "\\&amp;", name); gsub(/&/, "\\&amp;", program); gsub(/"/, "\\&quot;", name); gsub(/"/, "\\&quot;", program); print "<member name=\"" name "\" program=\"" program "\" userid=\"" userid "\" />"; }' >> $@
echo '</memberlist>' >> $@
$(OUTDIR)index.html: events.xml news.xml

View File

@ -27,7 +27,7 @@ XSLTARGS=g_date=`date -I` g_time=`date +%H:%M:%S` g_outdir="$(OUTDIR)" \
g_datetime="`date --rfc-3339=seconds`" g_pwd="$$(pwd)" g_root="$(ROOT)"
CLASSPATH = /users/www/saxon8/saxon8.jar
$(OUTDIR)%.html: %.xml $(ROOT)/csc.dtd $(ROOT)/xsl/*.xsl $(ROOT)/events.xml $(ROOT)/news.xml directory.xml
$(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=""||' $@

View File

@ -4,3 +4,5 @@ include ../common.mk
build:
sed -i 's| xmlns=""||' $(OUTDIR)*.html
$(OUTDIR)index.html: ../events.xml

View File

@ -4,3 +4,5 @@ include ../common.mk
build:
sed -i 's| xmlns=""||' $(OUTDIR)*.html
$(OUTDIR)index.html: ../news.xml