mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2025-04-21 12:27:27 +03:00
Make boom-config complain about usage errors.
- boom/Makefile, boom/boom-config.in: add a warning to boom-config that the file is machine-generated - boom/boom-config.in (usage): complain about unrecognized keywords
This commit is contained in:
@@ -1,8 +1,18 @@
|
||||
#!/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
|
||||
@@ -18,6 +28,8 @@ while [ "$1" ]; do
|
||||
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;;
|
||||
*)
|
||||
usage;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user