aboutsummaryrefslogtreecommitdiffstats
path: root/utils/gen_website_doc_tree.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/gen_website_doc_tree.sh')
-rwxr-xr-xutils/gen_website_doc_tree.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/utils/gen_website_doc_tree.sh b/utils/gen_website_doc_tree.sh
new file mode 100755
index 00000000..622db56d
--- /dev/null
+++ b/utils/gen_website_doc_tree.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+TOPDIR=`pwd`
+INDIR="$TOPDIR/doc"
+OUTDIR=/tmp/doxywww
+GITREV=`./git-version-gen .tarball-version`
+
+[ -f "$OUTDIR" ] || mkdir "$OUTDIR"
+
+for MOD in core gsm vty codec; do
+ TGTDIR="$OUTDIR/libosmo$MOD/$GITREV"
+ mkdir -p "$TGTDIR"
+ cp -R "$INDIR/$MOD/"* "$TGTDIR/"
+done