diff options
Diffstat (limited to 'graphics/circuit_macros/examples/Makefile')
-rw-r--r-- | graphics/circuit_macros/examples/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/graphics/circuit_macros/examples/Makefile b/graphics/circuit_macros/examples/Makefile index 5cad778d91..e0404f8aee 100644 --- a/graphics/circuit_macros/examples/Makefile +++ b/graphics/circuit_macros/examples/Makefile @@ -27,11 +27,13 @@ LIBDIR = .. # The dpic processor: PIC = dpic -p +PIC = dpic -p #PIC = $$HOME/dpic/bu*/p2c/ftp/dpic -p #PIC = /cygdrive/d/Dwight/dpic/p2c/Windows/dpic -p #PIC = dpic -1 -p #PIC = $$HOME/dpic/build/test/dpic -p #PIC = $$HOME/tmp/dpic -p +#PIC = $$HOME/dpic/bison/dpic -p CONFIGFILE = pstricks.m4 @@ -45,7 +47,7 @@ CONFIGFILE = pstricks.m4 # Convert options EPSOPTS = -PNGOPTS = -density 400 -scale 25% -alpha Remove +PNGOPTS = -quiet -density 400 -scale 25% -alpha Remove # M4 = m4 -B32000 # M4 = m4 -I $(LIBDIR) @@ -61,7 +63,7 @@ PICS = \ CanLogic.tex CctTable.tex Conn.tex Counting.tex Crossbar.tex Crow.tex \ Csource.tex \ Decoder.tex Demultiplexer.tex Diodes.tex Drive.tex \ - Emarrows.tex Flow.tex Fuses.tex Grounds.tex \ + Emarrows.tex Flow.tex Fuses.tex GrayCode.tex Grounds.tex \ Headers.tex Heathkit.tex \ I2L.tex Incleps.tex Jack.tex \ Logic.tex Loglog.tex MC.tex Mixer.tex MotorControl.tex Multiplexer.tex \ @@ -70,7 +72,7 @@ PICS = \ Quantum.tex Rectifiers.tex Relay.tex Rotbox.tex \ Schottky.tex ShiftR.tex Sierpinski.tex Sixpole.tex Sources.tex SQUID.tex \ Switches.tex \ - TTLnand.tex Tgate.tex Three.tex Timer.tex Ttree.tex \ + TTLnand.tex Tgate.tex Three.tex Timer.tex Ttree.tex Tubediags.tex \ Variable.tex Windings.tex Xform.tex \ control.tex csc.tex diamond.tex \ ex00.tex ex01.tex ex02.tex ex03.tex ex04.tex ex05.tex ex06.tex \ @@ -162,12 +164,12 @@ BS = tr '|' '\134' .m4.pdf: touch F_$*.dim $(M4) pgf.m4 F_$*.dim $*.m4 > $*.pic - dpic -g $*.pic > test.tex + $(PIC) -g $*.pic > test.tex sed -e '/^\\usepackage.*graphicx/s/^.*$$/\\usepackage{tikz}/' \ -e '/pstricks/d' tst.tex > F_$*.tex pdflatex F_$* $(M4) pgf.m4 F_$*.dim $*.m4 > $*.pic - dpic -g $*.pic > test.tex + $(PIC) -g $*.pic > test.tex pdflatex F_$* mv F_$*.pdf $*.pdf @@ -177,12 +179,12 @@ $(DOC).pdf: clean pdfmode $(DOC).frp touch $(DOC).dim for file in $(BOXDIMS) ; do \ rm -f $$file.tex $$file.pic ; \ - make PIC="dpic -g" CONFIGFILE=pgf.m4 DIMFILE=$(DOC).dim $${file}.tex ; \ + make PIC="$(PIC) -g" CONFIGFILE=pgf.m4 DIMFILE=$(DOC).dim $${file}.tex ; \ done pdflatex $(DOC) for file in $(BOXDIMS) ; do \ rm -f $$file.tex $$file.pic ; \ - make PIC="dpic -g" CONFIGFILE=pgf.m4 DIMFILE=$(DOC).dim $${file}.tex ; \ + make PIC="$(PIC) -g" CONFIGFILE=pgf.m4 DIMFILE=$(DOC).dim $${file}.tex ; \ done pdflatex $(DOC) @@ -217,7 +219,7 @@ $(DOC).frs: doclinks $(DOC).tex files.tex header.tex psmode rm -f $(DOC).dvi $(DOC).frp: doclinks $(DOC).tex files.tex header.tex pdfmode - make CONFIGFILE=pgf.m4 PIC="dpic -g" $(PICS) + make CONFIGFILE=pgf.m4 PIC="$(PIC) -g" $(PICS) cp $(LIBDIR)/doc/Version.tex . pdflatex $(DOC) rm -f $(DOC).pdf |