chiark / gitweb /
compliance with Policy 3.2.1
[developers-reference.git] / Makefile
1 # Makefile, used for the DDP manuals.sgml area
2
3 MANUAL          := $(notdir $(shell pwd))
4 PUBLISHDIR      := ../../../public_html/manuals.html
5
6 all: build
7
8 publish:        build
9         [ -d $(PUBLISHDIR) ] || exit 1
10         rm -f $(PUBLISHDIR)/$(MANUAL)/*.html
11         install -d -m 755 $(PUBLISHDIR)/$(MANUAL)
12         install -m 644 --preserve-timestamps $(MANUAL).html/*.html      \
13            $(PUBLISHDIR)/$(MANUAL)
14
15 .PHONY: build
16 build:
17         debian/rules build
18
19 .PHONY: clean
20 clean:
21         debian/rules clean