summaryrefslogtreecommitdiff
path: root/doc/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'doc/update.sh')
-rwxr-xr-xdoc/update.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/update.sh b/doc/update.sh
index b5bb7e4b..9efd6f74 100755
--- a/doc/update.sh
+++ b/doc/update.sh
@@ -65,6 +65,7 @@ echo $all >>Makefile
cd ..
# Build Makefile in 'html' directory
+test -d html || mkdir html
cd html
rm -f *.html
echo > Makefile
@@ -82,6 +83,7 @@ echo $all >>Makefile
cd ..
# Build Makefile in 'wiki' directory
+test -d wiki || mkdir wiki
cd wiki
rm -f *.wiki
echo > Makefile