2007-06-08 12:21:53 +01:00
|
|
|
# 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"
|
2007-08-08 13:03:18 +01:00
|
|
|
# vim: syntax=sh:@VIM_MODELINE@
|