Add support for './make.sh <module>'

This commit is contained in:
Laurence Withers 2006-07-24 22:41:27 +01:00
parent 33cd0e4daf
commit cffa0b8b48
1 changed files with 9 additions and 1 deletions

View File

@ -225,7 +225,12 @@ install_symlink() {
build_target() {
ITEMS="src/$1/build.default"
if [ ! -e "${ITEM}" ]
then
ITEMS="$(find src -type f -name build.$1)"
fi
if [ -z "${ITEMS}" ]
then
print_failure "Unrecognised target '$1'"
@ -274,3 +279,6 @@ do
done
exit 0
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
# vim: expandtab:ts=4:sw=4