X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=97d7c1e6db3f4f17669128221d6eaff875c81eec;hb=bbf0f17087219b30cf50b00d9049439876455ceb;hp=b6b0757ff200354a39465cb95a88f95f540641dc;hpb=a168a65f68d71f0d327b9ba6139ed90a2418f7fe;p=developers-reference.git diff --git a/Makefile b/Makefile index b6b0757..97d7c1e 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,14 @@ # Makefile, used for the DDP manuals.sgml area MANUAL := $(notdir $(shell pwd)) -PUBLISHDIR := /org/www.debian.org/www/doc/manuals +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, \ - $(foreach fmt,html txt pdf,developers-reference$(langext).$(fmt)))) + $(foreach langext,.fr, \ + $(foreach fmt,html txt,developers-reference$(langext).$(fmt)))) # programs for creating output DEBIANDOC2HTML := debiandoc2html -c @@ -22,8 +22,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)) @@ -77,11 +81,14 @@ version.ent: debian/changelog USERMAP := ../../ddp/CVSROOT/users .PHONY: prepare -prepare: +prepare: ChangeLog + cvs ci -m "update for next release" ChangeLog + +.PHONY: ChangeLog +ChangeLog: @[ -f CVS/Root -a -f $(USERMAP) ] || \ - ( echo "silly rabbit, prepare is for Adam" 1>&2; exit 1 ) + ( echo "usermap file '$(USERMAP)' not found" 1>&2; exit 1 ) cvs2cl -r --usermap $(USERMAP) - cvs ci -m "update for next release" ChangeLog .PHONY: clean clean: