Comment fact fix: header has moved.
[freeciv.git] / translations / generate_skips.sh
blobc2d5bf77fd277b4715386e346d02254c4d91d386
1 #!/bin/bash
2 #/**********************************************************************
3 # Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2, or (at your option)
7 # any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 #***********************************************************************/
16 SRCDIR="$(dirname "$0")"
18 if test "x$1" = "x-h" || test "x$1" = "x--help" ; then
19 echo "Usage: $(basename $0) [domain=all]"
20 exit
23 DOMAINLIST_FULL="core nations ruledit"
25 cd $SRCDIR
27 if test "x$1" != "x" && test "x$1" != "xall" ; then
28 DOMAINLIST="$1"
29 else
30 DOMAINLIST="$DOMAINLIST_FULL"
33 for domain in $DOMAINLIST
35 cp global.skip $domain/POTFILES.skip
36 for other_domain in $DOMAINLIST_FULL
38 if test $domain != $other_domain ; then
39 cat $other_domain/POTFILES.in >> $domain/POTFILES.skip
41 done
42 done