The idea is to move the build system out of the project tree as much as possible. This has two benefits: - it does not add any baggage to somebody who just wants to compile the project, and doesn't want to create any new modules, - it means that project trees don't have to be updated every time a change is made to the module instantiation stuff.
12 lines
347 B
Text
12 lines
347 B
Text
build_target @NAME@
|
|
|
|
# make paths (this is for Gentoo in particular)
|
|
build_dir_tree "${BINDIR}" || return 1
|
|
|
|
# install binary
|
|
echo "Installing binaries into '${BINDIR}'"
|
|
install_file "${@NAME@}" "${BINDIR}" 0755 || return 1
|
|
print_success "Done"
|
|
|
|
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
|
|
# vim: expandtab:ts=4:sw=4
|