all: northern.xml ely.xml chishill.xml gransdens.xml %.xml: %.txt Makefile echo "" > $@.tmp grep "^http" $< | sed -e 's|.*ll=\([-0-9.]*\),\([-0-9.]*\).*| |g' >> $@.tmp grep "^pub" $< | sed -e 's|.*ll=\([-0-9.]*\),\([-0-9.]*\)[^ ]* \(.*\)| |g' >> $@.tmp echo "" >> $@.tmp mv -f $@.tmp $@