Rather than the skeleton dir shipping with a couple of ready-made modules, one for each type of project, it would make much more sense and be much more flexible to instead provide a script to instantiate modules as needed.
9 lines
240 B
Text
9 lines
240 B
Text
build_target app
|
|
|
|
# make paths (this is for Gentoo in particular)
|
|
build_dir_tree "${BINDIR}" || return 1
|
|
|
|
# install binary
|
|
echo "Installing binaries into '${BINDIR}'"
|
|
install_file "${APPC}" "${BINDIR}" 0755 || return 1
|
|
print_success "Done"
|