summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/circuit_macros/examples/Makefile')
-rw-r--r--graphics/circuit_macros/examples/Makefile26
1 files changed, 12 insertions, 14 deletions
diff --git a/graphics/circuit_macros/examples/Makefile b/graphics/circuit_macros/examples/Makefile
index 92968df523..d729596a17 100644
--- a/graphics/circuit_macros/examples/Makefile
+++ b/graphics/circuit_macros/examples/Makefile
@@ -27,18 +27,15 @@ LIBDIR = ..
# The dpic processor:
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/dpic/build/p2c/ftp/dpic -p
#PIC = $$HOME/dpic/dev/p2c/ftp/dpic -p
-#PIC = $$HOME/tmp/dpic -p
#PIC = $$HOME/dpic/bison/dpic -p
#PIC = $$HOME/dpic/bdev/dpic -p
CONFIGFILE = pstricks.m4
-# This is for testing the mingw version of dpic:
+# Testing the mingw version of dpic:
+#PIC = $$HOME/dpic/bison/distsrc/Windows/dpic -p
#CUSTOM=windows.m4
# Uncomment for gpic. Use gpic or pic as applicable on your machine:
@@ -61,8 +58,9 @@ DOC = examples
PICS = \
ABlogix.tex Adder.tex Alogix.tex AmpTable.tex Antennas.tex \
AntiqueClock.tex Audio.tex Bip.tex Btree.tex Buttons.tex Byte.tex \
- CanLogic.tex CctTable.tex Conn.tex Contacts.tex Contact.tex control.tex \
- Counting.tex Crossbar.tex Crow.tex csc.tex Csource.tex Decoder.tex \
+ CanLogic.tex CctTable.tex Conn.tex Connectors.tex \
+ Contacts.tex Contact.tex control.tex Counting.tex Crossbar.tex Crow.tex \
+ csc.tex Csource.tex Decoder.tex \
Demultiplexer.tex diamond.tex Dini.tex Diodes.tex Drive.tex Emarrows.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 \
@@ -111,7 +109,7 @@ BS = tr '|' '\134'
make $*.tex
printf "|documentclass[11pt]{article}\n\
|usepackage{times,pstricks,boxdims,graphicx,pst-grad,pst-slpe}\n\
-|usepackage[amssymb,Gray,thinqspace,textstyle]{SIunits}\n\
+|usepackage{siunitx}\n\
|setlength{|textwidth}{28cm}|setlength{|textheight}{28cm}\n\
|setlength{|oddsidemargin}{0pt}|setlength{|evensidemargin}{0pt}\n\
|setlength{|hoffset}{-1cm}\n\
@@ -174,10 +172,10 @@ BS = tr '|' '\134'
$(DOC).pdf: clean pdfmode $(DOC).frp
touch $(DOC).dim
rm -f $(BOXDIMS) $(BOXPICS)
- make PIC="dpic -g" CONFIGFILE=pgf.m4 DIMFILE=$(DOC).dim pics
+ make PIC="$(PIC) -g" CONFIGFILE=pgf.m4 DIMFILE=$(DOC).dim pics
pdflatex $(DOC)
rm -f $(BOXDIMS) $(BOXPICS)
- make PIC="dpic -g" CONFIGFILE=pgf.m4 DIMFILE=$(DOC).dim pics
+ make PIC="$(PIC) -g" CONFIGFILE=pgf.m4 DIMFILE=$(DOC).dim pics
pdflatex $(DOC)
optpdf $(DOC).pdf
@@ -202,14 +200,14 @@ $(DOC).dvi: $(DOC).frs
latex $(DOC)
$(DOC).frs: $(DOC).tex files.tex header.tex psmode
- make PIC="dpic -p" CONFIGFILE=pstricks.m4 DIMFILE=$(DOC).dim pics
+ make PIC="$(PIC) -p" CONFIGFILE=pstricks.m4 DIMFILE=$(DOC).dim pics
cp $(LIBDIR)/doc/Version.tex .
latex $(DOC)
rm -f $(DOC).dvi
touch $(DOC).frs
$(DOC).frp: $(DOC).tex files.tex header.tex pdfmode
- make PIC="dpic -g" CONFIGFILE=pgf.m4 DIMFILE=$(DOC).dim pics
+ make PIC="$(PIC) -g" CONFIGFILE=pgf.m4 DIMFILE=$(DOC).dim pics
cp $(LIBDIR)/doc/Version.tex .
pdflatex $(DOC)
rm -f $(DOC).pdf
@@ -235,7 +233,7 @@ echopics:
clobber: clean
rm -f *.ps
- -@for dir in mf mpost pdflatex xfig psfrag pgf svg dev test; \
+ -@for dir in mf mpost pdflatex xfig psfrag svg dev test; \
do (if test -d $$dir ; then cd $$dir; make clobber; fi) ; done
rm -f *.warn
rm -f examples.pdf