summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/examples/pgf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/circuit_macros/examples/pgf/Makefile')
-rw-r--r--graphics/circuit_macros/examples/pgf/Makefile31
1 files changed, 17 insertions, 14 deletions
diff --git a/graphics/circuit_macros/examples/pgf/Makefile b/graphics/circuit_macros/examples/pgf/Makefile
index daf98f1c5a..96a5e9face 100644
--- a/graphics/circuit_macros/examples/pgf/Makefile
+++ b/graphics/circuit_macros/examples/pgf/Makefile
@@ -23,7 +23,7 @@ FIGS = Adder.tex Alogix.tex ABlogix.tex Antennas.tex Audio.tex AmpTable.tex \
Csource.tex \
Decoder.tex Demultiplexer.tex Diodes.tex Drive.tex \
Emarrows.tex Flow.tex Fuses.tex \
- Grounds.tex Headers.tex Heathkit.tex Jack.tex \
+ GrayCode.tex Grounds.tex Headers.tex Heathkit.tex Jack.tex \
I2L.tex Incleps.tex \
Logic.tex Loglog.tex MC.tex Mixer.tex MotorControl.tex Multiplexer.tex \
NLG.tex NPDT.tex Nport.tex \
@@ -31,15 +31,15 @@ FIGS = Adder.tex Alogix.tex ABlogix.tex Antennas.tex Audio.tex AmpTable.tex \
Rectifiers.tex Relay.tex Rotbox.tex \
Schottky.tex Sierpinski.tex ShiftR.tex Sixpole.tex Sources.tex SQUID.tex \
Switches.tex \
- Tgate.tex Three.tex Timer.tex TTLnand.tex Ttree.tex \
+ Tgate.tex Three.tex Timer.tex TTLnand.tex Ttree.tex Tubediags.tex \
Windings.tex Variable.tex Xform.tex \
control.tex csc.tex diamond.tex \
ex00.tex ex01.tex ex02.tex ex03.tex ex04.tex \
ex05.tex ex06.tex ex08.tex ex09.tex ex10.tex ex11.tex ex12.tex \
ex15.tex ex16.tex ex17.tex ex18.tex ex21.tex exp.tex \
fet.tex graysurf.tex lcct.tex pwrsupply.tex quick.tex \
- recycle.tex rose.tex sfg.tex shapes.tex thyristor.tex ujt.tex worm.tex \
- XOR.tex
+ random.tex recycle.tex rose.tex sfg.tex shapes.tex \
+ thyristor.tex ujt.tex worm.tex XOR.tex
# Files using boxdims macros:
BOXDIMS = ex09 Crow Incleps Loglog TTLnand Opamp Ttree Windings
@@ -50,11 +50,14 @@ BOXDIMS = ex09 Crow Incleps Loglog TTLnand Opamp Ttree Windings
DPIC = dpic
# DPIC = $$HOME/dpic/test/dpic
+LATEX = latex --quiet
+PDFLATEX = pdflatex --quiet
+
TR = | tr '=' '\134'
.SUFFIXES: .tex .m4 .eps .ps .dim .pdf
.tex.ps:
- latex $*
+ $(LATEX) $*
dvips -Ppdf $*
.m4.tex:
$(M4) $(M4MACROS) $*.m4 | $(DPIC) -g > $*.tex
@@ -62,7 +65,7 @@ TR = | tr '=' '\134'
# $(DPIC) -g $*.pic > $*.tex
.m4.pdf:
$(M4) $(M4MACROS) $*.m4 | $(DPIC) -g > test.tex
- pdflatex tstpgf
+ $(PDFLATEX) tstpgf
mv tstpgf.pdf $*.pdf
.m4.dim:
printf '\\documentclass[11pt]{article}\n' > F$*.tex
@@ -72,8 +75,8 @@ TR = | tr '=' '\134'
printf '\n\\end{document}\n' >> F$*.tex
make $*.tex
touch F$*.dim
- $(M4) $(M4MACROS) F$*.dim $*.m4 | $(DPIC) -g > $*.tex; latex F$*
- $(M4) $(M4MACROS) F$*.dim $*.m4 | $(DPIC) -g > $*.tex; latex F$*
+ $(M4) $(M4MACROS) F$*.dim $*.m4 | $(DPIC) -g > $*.tex; $(LATEX) F$*
+ $(M4) $(M4MACROS) F$*.dim $*.m4 | $(DPIC) -g > $*.tex; $(LATEX) F$*
$(DOC).pdf: Incl.pdf $(DOC).tex
@@ -81,7 +84,7 @@ $(DOC).pdf: Incl.pdf $(DOC).tex
-if test -n "$(BOXDIMS)" ; then \
for box in $(BOXDIMS) ; do touch F$$box.dim; make $$box.dim ; done; fi
make $(FIGS)
- pdflatex $(DOC)
+ $(PDFLATEX) $(DOC)
EXL = exlinks
$(DOC).ps: $(DOC).dvi
@@ -90,7 +93,7 @@ $(DOC).ps: $(DOC).dvi
$(DOC).dvi: Incl.eps.gz $(DOC).tex
-if test "$(DOC)"="examplespgf" ; then make exlinks ; fi
make dims $(FIGS)
- latex $(DOC)
+ $(LATEX) $(DOC)
dims:
-if test -n "$(BOXDIMS)" ; then \
@@ -124,11 +127,11 @@ tst: test.m4
$(M4) pgf.m4 tstpgf.dim test.m4 \
> test.pic
$(DPIC) -g test.pic > test.tex
- latex tstpgf
+ $(LATEX) tstpgf
$(M4) pgf.m4 tstpgf.dim test.m4 \
> test.pic
$(DPIC) -g test.pic > test.tex
- latex tstpgf
+ $(LATEX) tstpgf
dvips tstpgf
tst.pdf: test.m4
@@ -136,11 +139,11 @@ tst.pdf: test.m4
$(M4) pgf.m4 tstpgf.dim test.m4 \
> test.pic
$(DPIC) -g test.pic > test.tex
- pdflatex tstpgf
+ $(PDFLATEX) tstpgf
$(M4) pgf.m4 tstpgf.dim test.m4 \
> test.pic
$(DPIC) -g test.pic > test.tex
- pdflatex tstpgf
+ $(PDFLATEX) tstpgf
test.tex: test.m4
touch tstpgf.dim