Mercurial > pidgin
annotate po/Makefile.mingw @ 15012:4b7065af8549
[gaim-migrate @ 17793]
I think that setting info on connection is an AIM-specific thing. Jabber, at least,
has the server save the vcard and you should only set it when it changes. Setting
it on connection can break things.
If you know another protocol that requires info to be set on connection, please
add it to that prpl.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 20 Nov 2006 22:39:08 +0000 |
parents | 5d03b309b482 |
children | 0e17470b47c2 |
rev | line source |
---|---|
3630 | 1 # Makefile.mingw |
14576
5d03b309b482
[gaim-migrate @ 17300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14315
diff
changeset
|
2 # |
3630 | 3 # Description: Makefile to generate mo files |
4 # | |
5 | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10804
diff
changeset
|
6 GAIM_TOP := .. |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10804
diff
changeset
|
7 include $(GAIM_TOP)/libgaim/win32/global.mak |
3630 | 8 |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10804
diff
changeset
|
9 PACKAGE = gaim |
3630 | 10 |
11 .SUFFIXES: | |
6221
580070695352
[gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3714
diff
changeset
|
12 .SUFFIXES: .po .gmo |
3630 | 13 |
14 ## | |
15 ## SOURCES, OBJECTS | |
16 ## | |
17 | |
6221
580070695352
[gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3714
diff
changeset
|
18 CATALOGS = $(patsubst %.po,%.gmo,$(wildcard *.po)) |
3630 | 19 |
20 ## | |
21 ## RULES | |
22 ## | |
23 | |
24 .po.gmo: | |
25 rm -f $@ && $(GMSGFMT) --statistics -o $@ $< | |
26 | |
27 ## | |
28 ## TARGETS | |
29 ## | |
30 | |
14576
5d03b309b482
[gaim-migrate @ 17300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14315
diff
changeset
|
31 .PHONY: all install clean |
5d03b309b482
[gaim-migrate @ 17300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14315
diff
changeset
|
32 |
3630 | 33 all: $(CATALOGS) |
34 | |
35 install: all | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10804
diff
changeset
|
36 mkdir -p $(GAIM_INSTALL_PO_DIR) |
3630 | 37 @catalogs='$(CATALOGS)'; \ |
38 for cat in $$catalogs; do \ | |
39 cat=`basename $$cat`; \ | |
40 lang=`echo $$cat | sed 's/\.gmo$$//'`; \ | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10804
diff
changeset
|
41 dir=$(GAIM_INSTALL_PO_DIR)/$$lang/LC_MESSAGES; \ |
3630 | 42 mkdir -p $$dir; \ |
43 if test -r $$cat; then \ | |
44 cp $$cat $$dir/$(PACKAGE).mo; \ | |
45 echo "installing $$cat as $$dir/$(PACKAGE).mo"; \ | |
46 else \ | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10804
diff
changeset
|
47 cp $(GAIM_PO_TOP)/$$cat $$dir/$(PACKAGE).mo; \ |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10804
diff
changeset
|
48 echo "installing $(GAIM_PO_TOP)/$$cat as" \ |
3630 | 49 "$$dir/$(PACKAGE).mo"; \ |
50 fi; \ | |
51 done | |
52 | |
53 clean: | |
6221
580070695352
[gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3714
diff
changeset
|
54 rm -f *.gmo |