mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2025-04-21 12:27:27 +03:00
fpdoc: new utility to generate a PDF with the footprints used in a project
- fab/pos2fab: can be called with "do", to read .pos and .cmp file - fpd2pdf/fpd2pdf: added syntax extension file.fpd:package to allow selection of a single package - fpd2pdf/fpdoc: generate a PDF with the footprints used in a specific project
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
usage()
|
||||
{
|
||||
cat <<EOF 1>&2
|
||||
usage: $0 [-a] [-o out.pdf] [-P] file.fpd ...
|
||||
usage: $0 [-a] [-o out.pdf] [-P] file.fpd[:package] ...
|
||||
|
||||
-a also include files whose name contains a tilde (backup files)
|
||||
-o out.pdf write to the specified file (default: standard output)
|
||||
@@ -47,4 +47,7 @@ done
|
||||
|
||||
eval gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$out -f \
|
||||
`for n in "$@"; do $all || [ "$n" = "${n/\~/}" ] && \
|
||||
echo "<(fped $p_opt \"$n\" -)"; done`
|
||||
echo "<(fped $p_opt \
|
||||
\"\`echo \\"$n\\" | sed 's/:.*//'\`\" \
|
||||
\`echo \"$n\" | sed 's/.*:/-1/p;d'\` \
|
||||
-)"; done`
|
||||
|
||||
Reference in New Issue
Block a user