Mercurial > pidgin.yaz
annotate po/Makefile.mingw @ 12463:b1717befbb26
[gaim-migrate @ 14773]
SF Patch #1377719 from Evan Schoenberg
"A recent reorganization of how the chat_add_users() conversation UI op is
sent removed passing to the UI of whether the additions are new arrivals
or not. This information lets the UI make decisions about how to handle
the new people, what if anything to display, etc."
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 12 Dec 2005 07:35:43 +0000 |
parents | 6dcfec6f2f7c |
children | 8793fc8f7064 |
rev | line source |
---|---|
3630 | 1 # Makefile.mingw |
2 # | |
3 # Description: Makefile to generate mo files | |
4 # | |
5 | |
6 PACKAGE = gaim | |
7 | |
3714
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
8 ## |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
9 ## PATHS |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
10 ## |
3630 | 11 |
12 srcdir = . | |
3714
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
13 GAIM_TOP = .. |
3630 | 14 GAIM_INSTALL_DIR = ../win32-install-dir |
15 LOCALEDIR = $(GAIM_INSTALL_DIR)/locale | |
16 GTK_BIN = ../../win32-dev/gtk_2_0/bin | |
3714
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
17 |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
18 ## |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
19 ## TOOLS |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
20 ## |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
21 |
10804 | 22 GMSGFMT := $(GTK_BIN)/msgfmt |
3630 | 23 |
24 | |
25 .SUFFIXES: | |
6221
580070695352
[gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3714
diff
changeset
|
26 .SUFFIXES: .po .gmo |
3630 | 27 |
28 | |
29 ## | |
30 ## SOURCES, OBJECTS | |
31 ## | |
32 | |
6221
580070695352
[gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3714
diff
changeset
|
33 CATALOGS = $(patsubst %.po,%.gmo,$(wildcard *.po)) |
3630 | 34 |
35 ## | |
36 ## RULES | |
37 ## | |
38 | |
39 .po.gmo: | |
40 rm -f $@ && $(GMSGFMT) --statistics -o $@ $< | |
41 | |
42 | |
43 ## | |
44 ## TARGETS | |
45 ## | |
46 | |
47 | |
48 all: $(CATALOGS) | |
49 | |
50 install: all | |
51 mkdir -p $(LOCALEDIR) | |
52 @catalogs='$(CATALOGS)'; \ | |
53 for cat in $$catalogs; do \ | |
54 cat=`basename $$cat`; \ | |
55 lang=`echo $$cat | sed 's/\.gmo$$//'`; \ | |
56 dir=$(LOCALEDIR)/$$lang/LC_MESSAGES; \ | |
57 mkdir -p $$dir; \ | |
58 if test -r $$cat; then \ | |
59 cp $$cat $$dir/$(PACKAGE).mo; \ | |
60 echo "installing $$cat as $$dir/$(PACKAGE).mo"; \ | |
61 else \ | |
62 cp $(srcdir)/$$cat $$dir/$(PACKAGE).mo; \ | |
63 echo "installing $(srcdir)/$$cat as" \ | |
64 "$$dir/$(PACKAGE).mo"; \ | |
65 fi; \ | |
66 done | |
67 | |
68 clean: | |
6221
580070695352
[gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3714
diff
changeset
|
69 rm -f *.gmo |