summaryrefslogtreecommitdiffstats
path: root/utils/gen_website_doc_tree.sh
blob: 622db56dd6b3d0da3170da1d93bfb1f78274049c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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