Use new `paths' system

This commit is contained in:
Laurence Withers 2007-09-11 22:06:23 +00:00
commit ec8bcba829
21 changed files with 132 additions and 65 deletions

View file

@ -1,13 +1,16 @@
if [ $# -ne 0 ]
then
print_failure "Too many arguments. None required for this module."
case "$1" in
bin) DEST_BINDIR="BINDIR" ;;
sbin) DEST_BINDIR="SBINDIR" ;;
cgi) DEST_BINDIR="CGIDIR" ;;
**)
echo "One argument required: binary location (bin, sbin or cgi)."
exit 1
;;
fi
do_parameter_subst
do_parameter_subst DEST_BINDIR
add_config_option "CC" "${COPT_CC_DEFAULT}"
add_config_option "CFLAGS" "${COPT_CFLAGS_DEFAULT}"
add_config_option "BINDIR" "${COPT_BINDIR_DEFAULT}"
true
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;