lw-build-system/skel/scripts/build.doxygen.docs/build.install-docs
Laurence Withers 9e8d1e4c15 WIP on module instantiation.
Rather than the skeleton dir shipping with a couple of ready-made
modules, one for each type of project, it would make much more sense and
be much more flexible to instead provide a script to instantiate modules
as needed.
2006-07-24 20:19:15 +01:00

19 lines
445 B
Text

build_target docs
# create documentation directories
echo "Installing documentation into ${DOCSDIR}"
build_dir_tree "${DOCSDIR}/html" || return 1
# copy across the Doxygen-generated documentation
for file in html/*
do
install_file ${file} ${DOCSDIR}/html 0644 || return 1
done
# copy across the generic files
for file in COPYING README
do
install_file ${file} ${DOCSDIR} 0644 || return 1
done
print_success "Documentation installed"