PAGES = index.html rules.html donate.html
all: $(PAGES) symlinks
symlinks:
ln -sf ../../static build/tor/
ln -sf ../../static build/clearnet/
clean:
rm -f $(addprefix build/tor/,$(PAGES))
rm -f $(addprefix build/clearnet/,$(PAGES))
%.html: %.j2.html base.j2.html
j2 -D site tor $< > build/tor/$@
j2 -D site clearnet $< > build/clearnet/$@