aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-08-20 17:33:37 +0200
committerHarald Welte <laforge@gnumonks.org>2011-08-20 17:40:08 +0200
commit429d2e454db18b1521e192bff24c08d9d1b12add (patch)
tree76c64058d80c513e4c77bf5bcc3b6e6584944fa7 /utils
parent47945f0a8b08cf4d2507845fe2a3cc895ff084c9 (diff)
add script to generate http://www.osmocom.org/doc tree structure
Diffstat (limited to 'utils')
-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 0000000..622db56
--- /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