Module: tools
Branch: master
Commit: 53aa16671d8ed4a7a6c96d1cf884eb404a5d8a17
URL: http://source.winehq.org/git/tools.git/?a=commit;h=53aa16671d8ed4a7a6c96d1c…
Author: Mikolaj Zalewski <mikolajz(a)tygrys.dom>
Date: Sat Feb 21 17:27:41 2009 +0100
If needed, run configure in wrc tree
---
scripts/Master.sh | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/scripts/Master.sh b/scripts/Master.sh
index c936830..ee7a27c 100755
--- a/scripts/Master.sh
+++ b/scripts/Master.sh
@@ -26,6 +26,9 @@ if [ "$PREPARE_TREES" -eq 1 ]; then
if [ "x$NOVERBOSE" = "x" ]; then
echo -n "Preparing tree(s)..."
fi
+ if [ ! -f "$WRCROOT/Makefile" ]; then
+ $WRCROOT/configure
+ fi
make -C "$WRCROOT" depend >/dev/null 2>>"$WORKDIR/run.log" || die "make depend in wrc tree failed"
make -C "$WRCROOT" tools >/dev/null 2>>"$WORKDIR/run.log" || die "make tools in wrc tree failed"
make -C "$SOURCEROOT" depend >/dev/null 2>>"$WORKDIR/run.log" || die "make depend in source tree failed"
Module: tools
Branch: master
Commit: bdb8582c80314c6dd0eb8e30cb95f0bd6be7fa57
URL: http://source.winehq.org/git/tools.git/?a=commit;h=bdb8582c80314c6dd0eb8e30…
Author: Mikolaj Zalewski <mikolajz(a)tygrys.dom>
Date: Sun Dec 7 01:13:35 2008 +0100
add README file
---
README | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/README b/README
new file mode 100644
index 0000000..7c66b10
--- /dev/null
+++ b/README
@@ -0,0 +1,12 @@
+To run the scripts, copy scripts/config-example to scripts/config and edit it
+to setup the paths. Then, in scripts/, run ./Master.sh to generate the
+statistics. If, in scripts/config, you have set to store results in the
+directory with PHP scripts from php/, they should be able to display the
+statistics. If you want to keep the generated data in a different directory
+than the PHP scripts, edit php/config.php so that they can to find it.
+
+You can create files scripts/local-prehook.sh and scripts/local-posthook.sh if
+you want to automate e.g. fetching the Git tree before generating the statistics
+or push the results to a server after it. Running the scripts with the
+environment variable NOVERBOSE set should make them silent enough to make them
+usable as a cron job.