-- Fixed typo in constitution.
[www/www.git] / about / Makefile
index 255e57c..bc64dfa 100644 (file)
@@ -1,13 +1,11 @@
-FILES = members.xml index.html exec.html members.html constitution.html \
-    constitution-change-20020920.html constitution-change-20040205.html
+FILES = index.html exec.html members.html constitution.html donations.html \
+       positions.html constitution-change-20020920.html \
+       constitution-change-20040205.html
 RELDIR = about/
 include ../common.mk
 
-$(OUTDIR)members.html: $(OUTDIR)members.xml
+$(OUTDIR)members.html: force
+$(OUTDIR)positions.html: force
 
-$(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(/&/, "\\&amp;", name); gsub(/&/, "\\&amp;", program); gsub(/"/, "\\&quot;", name); gsub(/"/, "\\&quot;", program); print "<member name=\"" name "\" program=\"" program "\" userid=\"" userid "\" />"; }' >> $@
-       echo '</memberlist>' >> $@
+$(OUTDIR)exec.html:
+       ln -s positions.html $@