From dadc34655c3ab961b0b0b94a10eaaba710f0b5e8 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 4 Jul 2011 22:38:03 +0000 Subject: Added kmymoney git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239792 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- po/message-stats.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 po/message-stats.sh (limited to 'po/message-stats.sh') diff --git a/po/message-stats.sh b/po/message-stats.sh new file mode 100644 index 0000000..0af63b3 --- /dev/null +++ b/po/message-stats.sh @@ -0,0 +1,30 @@ +#!/bin/sh +# +# This is a wrapper that executes stats.pl for all .po files in the +# given directory +# +# This wrapper is executed by 'make message-stats'. +# It is a custom target as defined in po/CMakeLists.txt +# +# The script requires to find the kmymoney2.pot file in the same +# directory in order to check if the po file is based on the current +# pot file. +# +#*************************************************************************** +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU General Public License as published by * +#* the Free Software Foundation; either version 2 of the License, or * +#* (at your option) any later version. * +#*************************************************************************** + +# Change to the directory provided on the command line. +cd $* + +echo "" +echo "" +echo "" +for i in *.po; do + perl ./stats.pl ./$i; +done; +echo "" +echo "" -- cgit v1.2.1