Accept donations!
[www/www.git] / about / Makefile
1 FILES = members.xml index.html exec.html members.html constitution.html donations.html \
2     constitution-change-20020920.html constitution-change-20040205.html
3 RELDIR = about/
4 include ../common.mk
5
6 $(OUTDIR)members.html: $(OUTDIR)members.xml
7
8 $(OUTDIR)members.xml:
9         test -e /usr/bin/ceoquery || (echo 'Erorr: ceoquery not found'; exit 1)
10         echo '<?xml version='\''1.0'\''?>' > $@
11         echo '<memberlist>' >> $@
12         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 "\" />"; }' >> $@
13         echo '</memberlist>' >> $@