From 883239849761dbd2ae6cf63c23ca3d7f42d591f4 Mon Sep 17 00:00:00 2001 From: aph Date: Mon, 28 Sep 1998 05:46:52 +0000 Subject: [PATCH] make ddp publish rule really publish git-svn-id: svn://anonscm.debian.org/ddp/manuals/trunk/developers-reference@661 313b444b-1b9f-4f58-a734-7bb04f332e8d --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 + -- 2.30.2