X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=developers-reference.git;a=blobdiff_plain;f=Makefile;h=ce1856420a863993624600550fc89b0f67a5f8eb;hp=ccff8d6d5ce75bfa5f481c70a12e7a062334a569;hb=883239849761dbd2ae6cf63c23ca3d7f42d591f4;hpb=0ed4abce4cbaa3c6d883e84b003504136d3a3c68;ds=sidebyside diff --git a/Makefile b/Makefile index ccff8d6..ce18564 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,17 @@ # Makefile, only used for the DDP manuals.sgml area -all: +MANUAL := $(shell basename $(shell pwd)) +PUBLISHDIR := ../../../public_html/manuals.html/$(THISDIR) + +publish: html + [ -d ../../../public_html ] || exit 1 + rm -f $(PUBLISHDIR)/*.html + install -d $(PUBLISHDIR) + install -m 644 --preserve-timestamps $(MANUAL).html/*.html $(PUBLISHDIR) + +html: debian/rules build clean: debian/rules clean +