lw-build-system/scripts/build.files.none/build.install-files

17 lines
472 B
Plaintext

[ -z "${FILESDIR}" ] && FILESDIR="${PREFIX}/share/@P@/@NAME@" # @TODO@
# create destination directories
echo "Installing files into ${FILESDIR}"
build_dir_tree "${FILESDIR}" || return 1
# copy across the Doxygen-generated documentation
for file in src/@NAME@/*
do
[ "$(echo $(basename ${file})) | cut -b6)" == "build." ] && continue
do_cmd cp -a ${file} ${FILESDIR} || return 1
done
print_success "Files installed"
# kate: @KATE_MODELINE@
# vim: @VIM_MODELINE@