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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user