diff options
Diffstat (limited to 'graphics/circuit_macros/examples/mpost/Makefile')
-rw-r--r-- | graphics/circuit_macros/examples/mpost/Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/graphics/circuit_macros/examples/mpost/Makefile b/graphics/circuit_macros/examples/mpost/Makefile index 978e1e3592..af86f44cbe 100644 --- a/graphics/circuit_macros/examples/mpost/Makefile +++ b/graphics/circuit_macros/examples/mpost/Makefile @@ -61,7 +61,7 @@ MPOST = mpost --tex=latex TR = | tr '=' '\134' -LATEX = latex +LATEX = latex --quiet DVIPS = dvips DIMFILE = tmp.dim @@ -95,8 +95,9 @@ $(DOC).ps: $(DOC).dvi EXL = exlinks $(DOC).dvi: $(DOC).tex - -if test "$(DOC)" = "examplesmpost" ; then make exlinks dims; fi - make $(FIGS) rose.pdf + -if test "$(DOC)" = "examplesmpost" ; then \ + make exlinks dims; rose.pdf; fi + make $(FIGS) $(LATEX) $(DOC) -if test -n "$(BOXDIMS)" ; then rm -f dims; \ for box in $(BOXDIMS) ; do rm -f $$box.1; done; \ @@ -112,9 +113,14 @@ figs: $(EXL) $(FIGS) rose.pdf: ../rose.m4 m4 pdf.m4 ../rose.m4 | dpic -d > rose.pdf -exlinks: +ignore: + @echo "" @echo "" @echo 'Ignore "cannot create ... exists and file.1 not found" warnings.' + @echo "" + @echo "" + +exlinks: ignore -@if test ! -f ex11.m4 ; then \ ls ../*.m4 | sed -e 's/^/ln -s /' -e '/test.m4/d' | sh;\ fi @@ -125,10 +131,9 @@ exlinks: clobber: clean -tst: +tst: ignore rm -f tst.ps tst.dvi test.1 test.mp - make EXL="" DPIC="$(DPIC)" CONFIGFILE="$(CONFIGFILE)" DOC=tstmpost \ - FIGS=test.1 BOXDIMS=test + make EXL="" DPIC="$(DPIC)" DOC=tstmpost FIGS=test.1 BOXDIMS=test rm -f *.frs tst1: test.1 tstmpost.tex |