OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [gdb/] [po/] [gdbtext] - Blame information for rev 302

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
#!/bin/sh -e
2
 
3
if test $# -lt 3
4
then
5
    echo "Usage: $0     ..." 1>&2
6
    exit 0
7
fi
8
 
9
xgettext=$1 ; shift
10
package=$1 ; shift
11
 
12
for d in "$@"
13
do
14
  __directories="$__directories --directory=$d"
15
done
16
 
17
for d in "$@"
18
do
19
  (
20
      cd $d
21
      find * \
22
          -name '*-stub.c' -prune -o \
23
          -name 'testsuite' -prune -o \
24
          -name 'init.c' -prune -o \
25
          -name '*.[hc]' -print
26
  )
27
done | ${xgettext} \
28
    --default-domain=${package} \
29
    --copyright-holder="Free Software Foundation, Inc." \
30
    --add-comments \
31
    --files-from=- \
32
    --force-po \
33
    --debug \
34
    --language=c \
35
    --keyword=_ \
36
    --keyword=N_ \
37
    ${__directories} \
38
    -o po/${package}.pot

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.