Add a C module
This commit is contained in:
parent
f5e3be481b
commit
8968ed27b2
8 changed files with 99 additions and 0 deletions
12
scripts/build.module.c/build.install-module
Normal file
12
scripts/build.module.c/build.install-module
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
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: @VIM_MODELINE@
|
||||
Loading…
Add table
Add a link
Reference in a new issue