summaryrefslogtreecommitdiff
path: root/sch2pdf
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-03 19:01:04 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-09-03 22:52:24 (GMT)
commit13f0b12be13e584884f00c726873f83d70f2c1d9 (patch)
treed1205930c9866c898f7aa0c766fc52149b0175eb /sch2pdf
parentef43492d8f72d192e98a1f31d6069ab250609d81 (diff)
downloadeeshow-13f0b12be13e584884f00c726873f83d70f2c1d9.zip
eeshow-13f0b12be13e584884f00c726873f83d70f2c1d9.tar.gz
eeshow-13f0b12be13e584884f00c726873f83d70f2c1d9.tar.bz2
main/eeplot.c: combine front- and backend command line processing
... and do away with the -- option
Diffstat (limited to 'sch2pdf')
-rwxr-xr-xsch2pdf8
1 files changed, 4 insertions, 4 deletions
diff --git a/sch2pdf b/sch2pdf
index 6233971..ec9be52 100755
--- a/sch2pdf
+++ b/sch2pdf
@@ -56,8 +56,8 @@ while [ "$2" ]; do
shift
done
-./eeplot $libs "$1" \
- -- fig -o fig:- $template "TITLE=`basename \"$1\" .sch`" NUMBER=$num |
+./eeplot -o fig:- $template -D"TITLE=`basename \"$1\" .sch`" -DNUMBER=$num \
+ $libs "$1" |
fig2dev -L pdf >"$out"
sheet=false
@@ -83,8 +83,8 @@ while read line; do
num=`expr $num + 1`
$quiet || echo "$file" 1>&2
- ./eeplot $libs `dirname "$1"`/$file \
- -- fig -o fig:- $template "TITLE=$name" NUMBER=$num |
+ ./eeplot -o fig:- $template -D"TITLE=$name" -DNUMBER=$num \
+ $libs `dirname "$1"`/$file | \
fig2dev -L pdf >_tmp.pdf
pdfunite "$out" _tmp.pdf _tmp2.pdf
mv _tmp2.pdf "$out"