1 Debian patch touch this file
| 1 | FILES= *.txi */*.txi figures/* |
| 2 | |
| 3 | .PHONY: all pdf info html |
| 4 | |
| 5 | all: pdf info html |
| 6 | |
| 7 | pdf: manual.pdf |
| 8 | info: ecl.info.gz |
| 9 | html: html/index.html |
| 10 | |
| 11 | manual.pdf: $(FILES) |
| 12 | texi2pdf manual.txi |
| 13 | |
| 14 | ecl.info.gz: $(FILES) |
| 15 | $(MAKEINFO) --no-split manual.txi |
| 16 | gzip < ecl.info > ecl.info.gz |
| 17 | |
| 18 | html/index.html: $(FILES) |
| 19 | $(MAKEINFO) --html --css-include=ecl.css --split=section manual.txi |
| 20 | rm -rf html |
| 21 | mv ecl html |
| 22 | cp -r figures html |
| 23 | |
| 24 | clean: |
| 25 | rm -rf *.{aux,cf,cfs,cp,cpp,cpps,cps,ex,exs,fn,fns,ft,fts,log,lsp,lsps,toc,tp,tps,vr,vrs,pdf,info,info-1,info-2,info.gz,html} html |