2007-10-08 15:24:08 -04:00
|
|
|
FILES = members.xml index.html exec.html members.html constitution.html \
|
|
|
|
donations.html constitution-change-20020920.html \
|
|
|
|
constitution-change-20040205.html
|
2007-10-05 21:55:10 -04:00
|
|
|
RELDIR = about/
|
|
|
|
include ../common.mk
|
2002-03-11 15:39:54 -05:00
|
|
|
|
2007-10-05 21:55:10 -04:00
|
|
|
$(OUTDIR)members.html: $(OUTDIR)members.xml
|
2002-04-15 18:31:30 -04:00
|
|
|
|
2007-10-05 21:55:10 -04:00
|
|
|
$(OUTDIR)members.xml:
|
|
|
|
test -e /usr/bin/ceoquery || (echo 'Erorr: ceoquery not found'; exit 1)
|
|
|
|
echo '<?xml version='\''1.0'\''?>' > $@
|
|
|
|
echo '<memberlist>' >> $@
|
|
|
|
ceoquery memberlist | sort | awk -F \| '{ name = $$1; program = $$2; userid = $$3; gsub(/&/, "\\&", name); gsub(/&/, "\\&", program); gsub(/"/, "\\"", name); gsub(/"/, "\\"", program); print "<member name=\"" name "\" program=\"" program "\" userid=\"" userid "\" />"; }' >> $@
|
|
|
|
echo '</memberlist>' >> $@
|