X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=c3e2a14eccaaea670b0fc098f0b8e0a608aa6280;hb=8704985dc60de1f042125efcf1ab01fa344fb287;hp=b08e660270d976828a9a067ed1539c1be0d4a34b;hpb=f9365c0b4efffa11c01c8daab7548c2f10d88ccf;p=developers-reference.git diff --git a/Makefile b/Makefile index b08e660..c3e2a14 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,15 @@ # Makefile, used for the DDP manuals.sgml area +export PATH:=../quick-reference/bin/:${PATH} + MANUAL := $(notdir $(shell pwd)) PUBLISHDIR := /org/www.debian.org/www/doc/manuals SOURCES := $(wildcard *.sgml) -TARGETS := $(foreach fmt,html txt pdf,developers-reference.$(fmt)) \ - $(filter-out developers-reference.ja.pdf, \ - $(foreach langext,.ja .fr, \ - $(foreach fmt,html txt pdf,developers-reference$(langext).$(fmt)))) +TARGETS := $(foreach fmt,html txt ps pdf,developers-reference.$(fmt)) \ + $(foreach langext,.fr .ja, \ + $(foreach fmt,html txt ps pdf,developers-reference$(langext).$(fmt))) # programs for creating output DEBIANDOC2HTML := debiandoc2html -c @@ -22,8 +23,12 @@ install_file := install -m 644 -p MAX_TEX_RECURSION := 5 -.PHONY: all -all: $(TARGETS) +.PHONY: all dropold +all: $(TARGETS) dropold + +dropold: + -rm -rf developers-reference.ja.html + .PHONY: validate validate: $(addsuffix .validate,$(SOURCES))