1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2025-04-21 12:27:27 +03:00

sch2fig/: extend command-line parsing to graphics drivers

This commit is contained in:
Werner Almesberger
2016-07-31 20:46:45 -03:00
parent b8b259bc8d
commit 8491af873e
9 changed files with 89 additions and 38 deletions

View File

@@ -56,7 +56,7 @@ while [ "$2" ]; do
shift
done
./sch2fig "-DTITLE=`basename \"$1\" .sch`" -DNUMBER=$num $template $libs "$1" |
./sch2fig $libs "$1" -- $template "TITLE=`basename \"$1\" .sch`" NUMBER=$num |
fig2dev -L pdf >"$out"
sheet=false
@@ -82,8 +82,8 @@ while read line; do
num=`expr $num + 1`
$quiet || echo "$file" 1>&2
./sch2fig "-DTITLE=$name" -DNUMBER=$num $template \
$libs `dirname "$1"`/$file |
./sch2fig $libs `dirname "$1"`/$file \
-- $template "TITLE=$name" NUMBER=$num |
fig2dev -L pdf >_tmp.pdf
pdfunite "$out" _tmp.pdf _tmp2.pdf
mv _tmp2.pdf "$out"