chiark / gitweb /
rename html rule to build rule, since it doesn't just make html
[developers-reference.git] / Makefile
index ce1856420a863993624600550fc89b0f67a5f8eb..2cdfb48cb2c41fc0c2850edcf5f1e87f369d4f4a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,16 @@
 # Makefile, only used for the DDP manuals.sgml area
 
 MANUAL         := $(shell basename $(shell pwd))
-PUBLISHDIR     := ../../../public_html/manuals.html/$(THISDIR)
+PUBLISHDIR     := ../../../public_html/manuals.html/$(MANUAL)
 
-publish:       html
+publish:       build
        [ -d ../../../public_html ] || exit 1
        rm -f $(PUBLISHDIR)/*.html
        install -d $(PUBLISHDIR)
        install -m 644 --preserve-timestamps $(MANUAL).html/*.html $(PUBLISHDIR)
 
-html:
+.PHONY:        build
+build:
        debian/rules build
 
 clean: