cat >&2 <<EOF
Usage: $0 <options>
Options:
---archonly Build only binary packages
---cleanup Cleanup temporary files when finished
---version=<ver> Custom version number of resulting packages (default: autodetect from git-describe)
+--archonly Build only binary packages
+--cleanup Cleanup temporary files when finished
+--version=<ver> Custom version number of resulting packages (default: autodetect from git-describe)
+--abi-version=<ver> Custom version number of the LibUCW's ABI (default: defined in ucw/default.cfg)
EOF
exit 1
}
PREFIX=/ \
INSTALL_INCLUDE_DIR=/usr/include/libucw \
INSTALL_DOC_DIR=/usr/share/doc/libucw/html \
- INSTALL_CONFIG_DIR=/usr/share/doc/libucw/examples/etc \
- UCW_VERSION="$VER" \
- UCW_ABI_SUFFIX="-$VER"
+ INSTALL_CONFIG_DIR=/usr/share/doc/libucw/examples/etc
echo "Creating debian/control"
build/genconf debian/control.in debian/control obj/config.mk
;;
--version=*) PKGVER="${1:10}"
;;
+ --abi-version=*)CONF="$CONF UCW_ABI_SUFFIX=-${1:14}"
+ ;;
*) usage
;;
esac