Add plain documentation

This commit is contained in:
Laurence Withers 2007-06-08 11:21:53 +00:00
parent d5a764afae
commit 9ff26c0748
3 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1 @@
source src/@NAME@/build.install-docs

View File

@ -0,0 +1,14 @@
# 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@

View File

@ -0,0 +1,12 @@
if [ $# -ne 0 ]
then
print_failure "Too many arguments. None required for this module."
exit 1
fi
do_parameter_subst
add_config_option "DOCSDIR" "${COPT_DOCSDIR_DEFAULT}"
true
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
# vim: expandtab:ts=4:sw=4