summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/circuit-macros/examples/mpost/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuit-macros/examples/mpost/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/circuit-macros/examples/mpost/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/circuit-macros/examples/mpost/Makefile b/Master/texmf-dist/doc/latex/circuit-macros/examples/mpost/Makefile
index bef3268c06e..978e1e35927 100644
--- a/Master/texmf-dist/doc/latex/circuit-macros/examples/mpost/Makefile
+++ b/Master/texmf-dist/doc/latex/circuit-macros/examples/mpost/Makefile
@@ -96,7 +96,7 @@ $(DOC).ps: $(DOC).dvi
EXL = exlinks
$(DOC).dvi: $(DOC).tex
-if test "$(DOC)" = "examplesmpost" ; then make exlinks dims; fi
- make $(FIGS)
+ make $(FIGS) rose.pdf
$(LATEX) $(DOC)
-if test -n "$(BOXDIMS)" ; then rm -f dims; \
for box in $(BOXDIMS) ; do rm -f $$box.1; done; \
@@ -109,9 +109,12 @@ dims:
figs: $(EXL) $(FIGS)
+rose.pdf: ../rose.m4
+ m4 pdf.m4 ../rose.m4 | dpic -d > rose.pdf
+
exlinks:
@echo ""
- @echo 'Ignore "cannot create ... exists" warnings.'
+ @echo 'Ignore "cannot create ... exists and file.1 not found" warnings.'
-@if test ! -f ex11.m4 ; then \
ls ../*.m4 | sed -e 's/^/ln -s /' -e '/test.m4/d' | sh;\
fi
@@ -133,7 +136,7 @@ tst1: test.1 tstmpost.tex
dvips tstmpost
clean:
- rm -f stamp-* $(FIGS) *.pic mp*.tex
+ rm -f stamp-* $(FIGS) *.pic mp*.tex rose.pdf
-if /usr/bin/test -f exlinks ; then \
ls -l *.m4 *.bb *.gz | grep '\->' | \
sed -e 's/^.* \([^ ][^ ]*\) ->.*$$/rm -f \1/' | sh; fi