PATH_TO_GENESIS=/home/lodewijk/play/nodes all: nodes.xml channelplan .PHONY: html channelplan: channelplan.c gcc -O2 -g -o channelplan channelplan.c -I/usr/local/include/libxml2 -I/usr/local/include/ -L/usr/local/lib -lgaul -lgaul_util -lpthread -lxml2 nodes.xml: $(PATH_TO_GENESIS)/.svn/entries convert.pl rm -f best ./convert.pl $(PATH_TO_GENESIS)/*/wleiden.conf echo "" > nodes.xml echo "" >> nodes.xml echo "" >> nodes.xml cat extra.snippet >> nodes.xml for i in `find $(PATH_TO_GENESIS) -name wleiden.xml | grep -v demo | grep -v test | grep -v vuilnis`; do \ cat $$i | sed "s/^/ /g" | grep -v "^ <[?!]" >> nodes.xml ; \ done echo "" >> nodes.xml #$(XMLLINT) --noout --schema nodes.xsd nodes.xml #python dubbelip.py #$(PYTHON) genconfigs.py html: nodes.xml nodes2xhtml.xsl $(XSLTPROC) nodes2xhtml.xsl nodes.xml