Add app.sh module

This commit is contained in:
Laurence Withers 2007-01-31 19:14:25 +00:00
parent 8968ed27b2
commit 5592da7b80
4 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1 @@
source src/@NAME@/build.install-app

View File

@ -0,0 +1,13 @@
# make paths (this is for Gentoo in particular)
build_dir_tree "${BINDIR}" || return 1
# install binary
echo "Installing binaries into '${BINDIR}'"
for script in src/@NAME@/*.sh
do
install_file "${script}" "${BINDIR}" 0755 || return 1
done
print_success "Done"
# kate: @KATE_MODELINE@
# vim: @VIM_MODELINE@

View File

@ -0,0 +1,12 @@
if [ $# -ne 0 ]
then
print_failure "Too many arguments. None required for this module."
exit 1
fi
do_parameter_subst
add_config_option "BINDIR" "${COPT_BINDIR_DEFAULT}"
true
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
# vim: expandtab:ts=4:sw=4

View File

@ -1,6 +1,7 @@
build.app.c
build.app.c++
build.app.c++-qt
build.app.sh
build.docs.doxygen
build.files.none
build.firmware.gpasm