Add app.sh module
This commit is contained in:
parent
8968ed27b2
commit
5592da7b80
|
@ -0,0 +1 @@
|
||||||
|
source src/@NAME@/build.install-app
|
|
@ -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@
|
|
@ -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
|
|
@ -1,6 +1,7 @@
|
||||||
build.app.c
|
build.app.c
|
||||||
build.app.c++
|
build.app.c++
|
||||||
build.app.c++-qt
|
build.app.c++-qt
|
||||||
|
build.app.sh
|
||||||
build.docs.doxygen
|
build.docs.doxygen
|
||||||
build.files.none
|
build.files.none
|
||||||
build.firmware.gpasm
|
build.firmware.gpasm
|
||||||
|
|
Loading…
Reference in New Issue