X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Finternals%2FMakefile;h=1677a14a6407afdb208ce063b1320c9d6aa040be;hb=a3d4610158f227d53cb5eac287dd2661e975fc70;hp=a620b8482a5900fdb45bc3e83995c1387e0c1c76;hpb=927001993f81c25f387e124cb17ebd7db4b7cb37;p=sbcl.git diff --git a/doc/internals/Makefile b/doc/internals/Makefile index a620b84..1677a14 100644 --- a/doc/internals/Makefile +++ b/doc/internals/Makefile @@ -1,6 +1,10 @@ -.PHONY: top info clean all +ifeq ($(TEXI2PDF),) + TEXI2PDF:=texi2dvi -p +endif -all: info pdf +.PHONY: top clean html all + +all: sbcl-internals.pdf sbcl-internals.info top: sh make-top.sh @@ -8,10 +12,32 @@ top: info: top makeinfo sbcl-internals.texinfo -pdf: top - texi2pdf sbcl-internals.texinfo +%.eps: %.dot + dot -Tps -Gsize="5,5" -Gratio=compress -Gconcentrate=true $< > $@ -clean: - rm -f *.include *.info *.pdf *~ *.cp *.fn *.ky *.log *.pg *.toc \ - *.tp *.vr *.aux +%.png: %.dot + dot -Tpng -Gsize="5,5" -Gratio=compress -Gconcentrate=true $< > $@ + +%.txt: %.dot + # FIXME. + dot -Tcanon $< > $@ + +%.pdf: %.eps + epstopdf $< > $@ +sbcl-internals.pdf: top $(patsubst %.dot,%.pdf,$(wildcard *.dot)) *.texinfo + $(TEXI2PDF) sbcl-internals.texinfo + +sbcl-internals.info: top $(patsubst %.dot,%.txt,$(wildcard *.dot)) *.texinfo + +html: html-stamp + +html-stamp: top $(patsubst %.dot,%.png,$(wildcard *.dot)) *.texinfo + makeinfo --html sbcl-internals.texinfo + # FIXME + cp -f *.png sbcl-internals + touch html-stamp +clean: + rm -rf *.include *.info *.pdf *~ *.cp *.fn *.ky *.log *.pg *.toc \ + *.tp *.vr *.aux *.eps *.png *.dvi *.ps *.txt *.fns \ + html-stamp sbcl-internals/