diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-08-20 17:33:37 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-08-20 17:40:08 +0200 |
commit | 429d2e454db18b1521e192bff24c08d9d1b12add (patch) | |
tree | 76c64058d80c513e4c77bf5bcc3b6e6584944fa7 /utils/gen_website_doc_tree.sh | |
parent | 47945f0a8b08cf4d2507845fe2a3cc895ff084c9 (diff) |
add script to generate http://www.osmocom.org/doc tree structure
Diffstat (limited to 'utils/gen_website_doc_tree.sh')
-rwxr-xr-x | utils/gen_website_doc_tree.sh | 14 |
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 |