OSDN Git Service

Add libintl
[tortoisegit/TortoiseGitJp.git] / contrib / drupal-modules / translation-status / genstats.sh
1 #!/bin/sh\r
2 #\r
3 # Create the doc and gui statistics\r
4 #\r
5 #\r
6 # Copyright (C) 2004-2008 the TortoiseSVN team\r
7 # This file is distributed under the same license as TortoiseSVN\r
8 #\r
9 # $Author: luebbe $\r
10 # $Date: 2008-06-23 20:38:59 +0800 (Mon, 23 Jun 2008) $\r
11 # $Rev: 13328 $\r
12 #\r
13 # Author: Lübbe Onken 2004-2008\r
14 #\r
15 \r
16 # First 'svn cleanup' the externals manually, because cleanup doesn't walk into externals\r
17 # Afterwards 'svn up' everything\r
18 (cd trunk/gui; svn cleanup > /dev/null 2>&1)\r
19 (cd trunk/doc; svn cleanup > /dev/null 2>&1)\r
20 (cd branch/doc; svn cleanup > /dev/null 2>&1)\r
21 (cd branch/gui; svn cleanup > /dev/null 2>&1)\r
22 (svn cleanup > /dev/null 2>&1; svn up > /dev/null 2>&1)\r
23 \r
24 # Create doc statistics for trunk\r
25 ./get-doc-stats.sh trunk >trans_data_trunk.inc\r
26 \r
27 # Create gui statistics\r
28 ./get-gui-stats.sh trunk >>trans_data_trunk.inc\r
29 \r
30 # Create doc statistics for branch\r
31 ./get-doc-stats.sh branch >trans_data_branch.inc\r
32 \r
33 # Create gui statistics\r
34 ./get-gui-stats.sh branch >>trans_data_branch.inc\r
35 \r
36 # Copy results into web space\r
37 cp trans_*.inc htdocs/modules/tortoisesvn/\r
38 cp tortoisevars.inc htdocs/modules/tortoisesvn/\r