Browse Subversion Repository
Contents of /kazehakase/trunk/rgettext.mk.in
Parent Directory
| Revision Log
Revision 3658 -
( show annotations)
( download)
Fri Feb 13 00:33:15 2009 UTC
(15 years, 3 months ago)
by ikezoe
File size: 779 byte(s)
* rgettext.mk.in: Moved to top directory since po/rgettext.mk.in is
not included dist files.
1 |
if test "$(RGETTEXT)" != ""; then \ |
2 |
original_pot=$(GETTEXT_PACKAGE).orig.pot; \ |
3 |
rb_pot=$(GETTEXT_PACKAGE).rb.pot; \ |
4 |
rb_no_header_pot=$(GETTEXT_PACKAGE).rb.no-header.pot; \ |
5 |
\ |
6 |
$(RGETTEXT) -o $$rb_pot $(RGETTEXT_TARGETS); \ |
7 |
$(RUBY) $(srcdir)/extract-po-header.rb $$rb_pot > $$rb_no_header_pot; \ |
8 |
mv $(GETTEXT_PACKAGE).pot $$original_pot; \ |
9 |
cat $$original_pot $$rb_no_header_pot > $(GETTEXT_PACKAGE).pot; \ |
10 |
rm -f $$original_pot $$rb_pot $$rb_no_header_pot; \ |
11 |
\ |
12 |
dummy_c=dummy.c; \ |
13 |
echo "/* for rejecting duplicated entries */" > $$dummy_c; \ |
14 |
$(XGETTEXT) --join-existing -o $(GETTEXT_PACKAGE).pot $$dummy_c; \ |
15 |
rm -f $$dummy_c; \ |
16 |
fi |
17 |
|
18 |
RGETTEXT = @RGETTEXT@ |
19 |
RGETTEXT_TARGETS = @RGETTEXT_TARGETS@ |
|