From: aph Date: Mon, 28 Sep 1998 05:46:52 +0000 (+0000) Subject: make ddp publish rule really publish X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=developers-reference.git;a=commitdiff_plain;h=883239849761dbd2ae6cf63c23ca3d7f42d591f4 make ddp publish rule really publish git-svn-id: svn://anonscm.debian.org/ddp/manuals/trunk/developers-reference@661 313b444b-1b9f-4f58-a734-7bb04f332e8d --- 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 +