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,11 +1,11 @@
# make paths (this is for Gentoo in particular)
build_dir_tree "${BINDIR}" || return 1
build_dir_tree "${@DEST_BINDIR@}" || return 1
# install binary
echo "Installing binaries into '${BINDIR}'"
echo "Installing binaries into '${@DEST_BINDIR@}'"
for script in src/@NAME@/*.sh
do
install_file "${script}" "${BINDIR}" 0755 || return 1
install_file "${script}" "${@DEST_BINDIR@}" 0755 || return 1
done
print_success "Done"