aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/gen-docs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen-docs.sh')
-rwxr-xr-x[-rw-r--r--]scripts/gen-docs.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/gen-docs.sh b/scripts/gen-docs.sh
index 4760c83a..34bda991 100644..100755
--- a/scripts/gen-docs.sh
+++ b/scripts/gen-docs.sh
@@ -1,3 +1,9 @@
+#!/bin/sh
+
+if test -f prepare.sh ; then
+ cd ..
+fi
+
appledoc \
--no-create-docset \
--no-install-docset \
@@ -8,5 +14,5 @@ appledoc \
--ignore "*.m" \
--no-warn-invalid-crossref \
--no-repeat-first-par \
---output ~/mailcore2-docs \
+--output appledoc \
src