#!/usr/bin/make -f share=share ts != echo *.upphtml htmls = ${ts:.upphtml=.html} .SUFFIXES: .upphtml .html .upphtml.html: @ echo Making $@ @ share=$(share) pp $(share)/l.upphtml $< "https://mkws.sh" > $@ all: $(htmls) sitemap.xml sitemap.xml: $(share)/sitemap.uppxml pp $(share)/sitemap.uppxml "https://mkws.sh" > sitemap.xml clean: rm -rf *.html sitemap.xml