lw-build-system/scripts/build.app.sh/build.install-app

13 lines
317 B
Bash

# make paths (this is for Gentoo in particular)
build_dir_tree "${@DEST_BINDIR@}" || return 1
# install binary
echo "Installing binaries into '${@DEST_BINDIR@}'"
for script in src/@NAME@/*.sh
do
install_file "${script}" "${@DEST_BINDIR@}" 0755 || return 1
done
print_success "Done"
# vim: syntax=sh:@VIM_MODELINE@