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

15 lines
439 B
Plaintext

# create destination directories
echo "Installing documentation into ${DOCSDIR}"
build_dir_tree "${DOCSDIR}" || return 1
# copy across the files (note this copies everything with mode 0644).
for file in src/@NAME@/*
do
[ "$(echo $(basename ${file}) | cut -b1-6)" == "build." ] && continue
install_file ${file} ${DOCSDIR} 0644 || return 1
done
print_success "Documentation installed"
# kate: @KATE_MODELINE@
# vim: @VIM_MODELINE@