summaryrefslogtreecommitdiff
path: root/mkdocu.sh
blob: fb94c95ff95d2e041f20678da333d67e146b9753 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

if ! ndpath=`which NaturalDocs 2>/dev/null`; then
if ! ndpath=`which naturaldocs 2>/dev/null`; then
echo "NaturalDocs could not be found!" >/dev/stderr
exit 1
fi; fi


test -d docu/nd || mkdir docu/nd
test -d docu/nd_project_dir || mkdir docu/nd_project_dir
$ndpath -i . -o html docu/nd -p docu/nd_project_dir