X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=914d8fe1890f004b94da1e4df0610b540bc1ede8;hb=e79f9d437bc77c3805b99383182e53d8dcd47f87;hp=37dc8fe95592fedcd96c10e6b11a4ce11bf48904;hpb=6ab4f4d072d12ba934de2a93633be38953fb0c1b;p=developers-reference.git diff --git a/Makefile b/Makefile index 37dc8fe..914d8fe 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,10 @@ # Makefile, used for the DDP manuals.sgml area -MANUAL := $(shell basename $(shell pwd)) +MANUAL := $(notdir $(shell pwd)) PUBLISHDIR := ../../../public_html/manuals.html +all: build + publish: build [ -d $(PUBLISHDIR) ] || exit 1 rm -f $(PUBLISHDIR)/$(MANUAL)/*.html @@ -14,6 +16,6 @@ publish: build build: debian/rules build +.PHONY: clean clean: debian/rules clean -