mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-05 17:07:11 +02:00
a6c65c7dd2
- boom/boom-config.in: new command "manu" to list the manufacturers - manu/Makefile: run make for targets "all", "test", "sane", and "spotless" on each manufacturer directory
42 lines
649 B
Bash
42 lines
649 B
Bash
#!/bin/sh
|
|
|
|
# ##WARN##
|
|
|
|
DIST="##DIST##"
|
|
MANU="##MANU##"
|
|
|
|
|
|
usage()
|
|
{
|
|
echo "usage: $0 equ|inv|dsc|chr ..." 1>&2
|
|
exit 1
|
|
}
|
|
|
|
|
|
base=`which "$0"`
|
|
base=`dirname "$base"`
|
|
[ "$base" = "${base#/}" ] && base=`pwd`/$base
|
|
[ . -ef "$base" ] && base=.
|
|
|
|
[ "$1" ] || usage
|
|
|
|
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;;
|
|
manu)
|
|
echo $MANU;;
|
|
*)
|
|
usage;;
|
|
esac
|
|
shift
|
|
done
|
|
|
|
exit 0
|