MANUAL := $(shell basename $(shell pwd))
PUBLISHDIR := ../../../public_html/manuals.html/$(MANUAL)
-publish: html
+publish: build
[ -d ../../../public_html ] || exit 1
rm -f $(PUBLISHDIR)/*.html
install -d $(PUBLISHDIR)
install -m 644 --preserve-timestamps $(MANUAL).html/*.html $(PUBLISHDIR)
-html:
+.PHONY: build
+build:
debian/rules build
clean: