mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-10-01 11:46:22 +03:00
0a86c10803
- boom/Makefile: generate boom-config - boom/boom-config.in: template for boom-config script - boom/Makefile (EQU, INV, DSC, CHR): use boom-config - boom/test/Makefile (EQU, INV, DSC, CHR): use boom-config
26 lines
504 B
Bash
26 lines
504 B
Bash
#!/bin/sh
|
|
|
|
DIST="##DIST##"
|
|
MANU="##MANU##"
|
|
|
|
base=`which "$0"`
|
|
base=`dirname "$base"`
|
|
[ "$base" = "${base#/}" ] && base=`pwd`/$base
|
|
[ . -ef "$base" ] && base=.
|
|
|
|
while [ "$1" ]; do
|
|
case "$1" in
|
|
equ)
|
|
for n in $DIST; do echo "$base/dist/$n/db/all.equ"; done;;
|
|
inv)
|
|
for n in $DIST; do echo "$base/dist/$n/db/all.inv"; done;;
|
|
dsc)
|
|
for n in $DIST; do echo "$base/dist/$n/db/all.dsc"; done;;
|
|
chr)
|
|
for n in $MANU; do echo "$base/manu/$n/$n.chr"; done;;
|
|
esac
|
|
shift
|
|
done
|
|
|
|
exit 0
|