lw-build-system/scripts/build.module.c/build.install-module

12 lines
282 B
Bash

build_target @NAME@
# make paths (this is for Gentoo in particular)
build_dir_tree "${MODULEDIR}" || return 1
# install module
echo "Installing module into '${MODULEDIR}'"
install_file ${@CNAME@} ${MODULEDIR} 0755 || return 1
print_success "Done"
# vim: syntax=sh:@VIM_MODELINE@