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

13 lines
306 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"
# kate: @KATE_MODELINE@
# vim: syntax=sh:@VIM_MODELINE@