X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=2cdfb48cb2c41fc0c2850edcf5f1e87f369d4f4a;hb=90c9e75afaf1cf7994b255f399474aae07db5bfb;hp=ce1856420a863993624600550fc89b0f67a5f8eb;hpb=883239849761dbd2ae6cf63c23ca3d7f42d591f4;p=developers-reference.git diff --git a/Makefile b/Makefile index ce18564..2cdfb48 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,16 @@ # Makefile, only used for the DDP manuals.sgml area MANUAL := $(shell basename $(shell pwd)) -PUBLISHDIR := ../../../public_html/manuals.html/$(THISDIR) +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: