aboutsummaryrefslogtreecommitdiffstats
path: root/lib/htmlpurifier/maintenance/compile-doxygen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/htmlpurifier/maintenance/compile-doxygen.sh')
-rwxr-xr-xlib/htmlpurifier/maintenance/compile-doxygen.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/htmlpurifier/maintenance/compile-doxygen.sh b/lib/htmlpurifier/maintenance/compile-doxygen.sh
new file mode 100755
index 000000000..ecd1127fd
--- /dev/null
+++ b/lib/htmlpurifier/maintenance/compile-doxygen.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+cd ..
+mkdir docs/doxygen
+rm -Rf docs/doxygen/*
+doxygen 1>docs/doxygen/info.log 2>docs/doxygen/errors.log
+if [ "$?" != 0 ]; then
+ cat docs/doxygen/errors.log
+ exit
+fi
+cd docs
+tar czf doxygen.tgz doxygen