Revision 15289,
1.3 KB
checked in by ghudson, 24 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r15288,
which included commits to RCS files with non-trunk default branches.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | # make-pot -- extract .pot file from sources |
---|
4 | |
---|
5 | # $Id: make-pot,v 1.1.1.1 2000-11-12 06:26:52 ghudson Exp $ |
---|
6 | |
---|
7 | # This file is part of sawfish. |
---|
8 | |
---|
9 | # sawfish is free software; you can redistribute it and/or modify it |
---|
10 | # under the terms of the GNU General Public License as published by |
---|
11 | # the Free Software Foundation; either version 2, or (at your option) |
---|
12 | # any later version. |
---|
13 | |
---|
14 | # sawfish is distributed in the hope that it will be useful, but |
---|
15 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
17 | # GNU General Public License for more details. |
---|
18 | |
---|
19 | # You should have received a copy of the GNU General Public License |
---|
20 | # along with sawfish; see the file COPYING. If not, write to |
---|
21 | # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
---|
22 | |
---|
23 | REP_SRCS="../scripts/*.jl\ |
---|
24 | ../themer/themer.in\ |
---|
25 | ../themes/*/theme.jl" |
---|
26 | |
---|
27 | REP_SRCS="$REP_SRCS `find ../lisp -name '*.jl' -print`" |
---|
28 | |
---|
29 | GLADE_SRCS="../themer/themer.glade" |
---|
30 | |
---|
31 | rm -f sawfish.pot |
---|
32 | |
---|
33 | if [ ! -r ../DOC ]; then |
---|
34 | echo "error: Need a DOC file!" |
---|
35 | exit 1 |
---|
36 | fi |
---|
37 | |
---|
38 | lisp_c=.$$.lisp.c |
---|
39 | glade_c=.$$.glade.c |
---|
40 | |
---|
41 | ./sawfish-xgettext --doc-file=../DOC --c $REP_SRCS >$lisp_c |
---|
42 | libglade-xgettext --c $GLADE_SRCS >$glade_c |
---|
43 | |
---|
44 | xgettext --add-comments -a --no-location $lisp_c $glade_c |
---|
45 | mv -f messages.po sawfish.pot |
---|
46 | |
---|
47 | rm -f $lisp_c $glade_c |
---|
48 | |
---|
Note: See
TracBrowser
for help on using the repository browser.