summaryrefslogtreecommitdiffstats
path: root/release/docu
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit6d80ae38e4bfa82323398ceba27f25f94072bf5f (patch)
tree8ff7b57768c1e395e55e3c177687fb76d9d74ea3 /release/docu
downloadother-6d80ae38e4bfa82323398ceba27f25f94072bf5f.tar.gz
other-6d80ae38e4bfa82323398ceba27f25f94072bf5f.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'release/docu')
-rwxr-xr-xrelease/docu38
1 files changed, 38 insertions, 0 deletions
diff --git a/release/docu b/release/docu
new file mode 100755
index 0000000..0e589dc
--- /dev/null
+++ b/release/docu
@@ -0,0 +1,38 @@
+CDPATH=
+
+adir=`dirname $0`
+adir=`cd $adir && pwd`
+files=`cd $1 && find . -type f -path "*doc*index.docbook"`
+for f in $files; do
+ (
+ dir=`dirname $f`
+
+ # is it cached ?
+ if test -f $adir/cache/$1/$dir/index.cache.bz2; then
+ cp $adir/cache/$1/$dir/index.cache.bz2 $1/$dir
+ fi
+
+ cd $1/$dir
+ echo `pwd`
+
+ if test ! -f index.cache.bz2; then
+
+ if test ! -x "`which meinproc`"; then
+ echo ""
+ echo "!!! No meinproc found. No docu generated.. !!!";
+ echo ""
+ else
+ echo Running `which meinproc` --cache index.cache.bz2 index.docbook
+ meinproc --cache index.cache.bz2 index.docbook
+ mkdir -p $adir/cache/$1/$dir
+ cp index.cache.bz2 $adir/cache/$1/$dir/
+ if test "$?" != 0; then
+ echo $1/$f >> $adir/source/FAILED
+ fi
+ fi
+ fi
+ )
+done
+
+# make sure we leave no corefiles behind
+find $1 -type f -name "core" | xargs rm -f