File: update_docs

package info (click to toggle)
rosegarden4 1.0-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 22,344 kB
  • ctags: 14,022
  • sloc: cpp: 131,139; sh: 9,429; perl: 2,620; xml: 2,231; makefile: 607; python: 374; ansic: 339; ruby: 173; php: 2
file content (28 lines) | stat: -rwxr-xr-x 593 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh

cd /home/glaurent/rosegarden

if ! [ -r "Doxyfile" ]
then
 echo "Doxyfile not found"
 exit 1
fi

DOCDIR=`grep "OUTPUT_DIR.*=" Doxyfile | awk '{ print $3 }'`

rm -rf $DOCDIR/code_doc

(cd $DOCDIR/tutorial && cvs -z3 -q update -d -P) &
echo "Running doxygen..."
doxygen Doxyfile > /dev/null 2>&1
echo "doxygen done"

mv $DOCDIR/html $DOCDIR/code_doc

wait

rsync -auv --delete -e ssh $DOCDIR/code_doc $DOCDIR/tutorial glaurent@shell.sourceforge.net:/home/groups/r/ro/rosegarden/htdocs

#scp $DOCDIR/html/* glaurent@shell.sourceforge.net:/home/groups/r/ro/rosegarden/htdocs/code_doc