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

13 lines
318 B
Bash

build_target @NAME@
# make paths (this is for Gentoo in particular)
build_dir_tree "${INCLUDEDIR}" || return 1
# install header
echo "Installing header file '${@CNAME@_HEADER}' into ${INCLUDEDIR}"
install_header ${@CNAME@_HEADER} ${INCLUDEDIR} 0644 || return 1
print_success "Done"
# vim: syntax=sh:@VIM_MODELINE@