annotate po/Makefile.mingw @ 8071:4dede940939c

[gaim-migrate @ 8769] (22:19:37) deryni: LSchiere2: yay, you have commit access, want to fix gaim_blist_node_set_int? setting->type = GAIM_BLIST_NODE_SETTING_STRING; to setting->type = GAIM_BLIST_NODE_SETTING_INT; unless I'm missing something. (22:19:56) marv: Sean should be careful, I not really sure, but it sounds like that lucus guy might be decompiling too. (22:19:58) LSchiere2: deryni: what in the world are you talking about? (22:20:14) deryni: LSchiere2: sorry, let's try this slower (22:20:26) deryni: I think gaim_blist_node_set_int in blist.c is broken (22:21:30) deryni: I think the "setting->type = " is wrong, should be _SETTING_INT not _SETTING_STRING (22:22:03) LSchiere2: deryni: that's where you loose me. where am i looking? (22:22:26) deryni: line 2570 here committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 11 Jan 2004 03:23:55 +0000
parents 580070695352
children 6dcfec6f2f7c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
1 # Makefile.mingw
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
2 #
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
3 # Description: Makefile to generate mo files
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
4 #
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
5
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
6 PACKAGE = gaim
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
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
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
11
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
12 srcdir = .
3714
380b043a4a1c [gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3630
diff changeset
13 GAIM_TOP = ..
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
14 GAIM_INSTALL_DIR = ../win32-install-dir
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
15 LOCALEDIR = $(GAIM_INSTALL_DIR)/locale
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
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
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
22 GMSGFMT = $(GTK_BIN)/msgfmt
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
23
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
24
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
25 .SUFFIXES:
6221
580070695352 [gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3714
diff changeset
26 .SUFFIXES: .po .gmo
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
27
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
28
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
29 ##
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
30 ## SOURCES, OBJECTS
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
31 ##
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
32
6221
580070695352 [gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3714
diff changeset
33 CATALOGS = $(patsubst %.po,%.gmo,$(wildcard *.po))
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
34
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
35 ##
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
36 ## RULES
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
37 ##
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
38
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
39 .po.gmo:
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
40 rm -f $@ && $(GMSGFMT) --statistics -o $@ $<
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
41
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
42
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
43 ##
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
44 ## TARGETS
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
45 ##
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
46
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
47
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
48 all: $(CATALOGS)
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
49
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
50 install: all
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
51 mkdir -p $(LOCALEDIR)
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
52 @catalogs='$(CATALOGS)'; \
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
53 for cat in $$catalogs; do \
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
54 cat=`basename $$cat`; \
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
55 lang=`echo $$cat | sed 's/\.gmo$$//'`; \
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
56 dir=$(LOCALEDIR)/$$lang/LC_MESSAGES; \
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
57 mkdir -p $$dir; \
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
58 if test -r $$cat; then \
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
59 cp $$cat $$dir/$(PACKAGE).mo; \
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
60 echo "installing $$cat as $$dir/$(PACKAGE).mo"; \
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
61 else \
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
62 cp $(srcdir)/$$cat $$dir/$(PACKAGE).mo; \
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
63 echo "installing $(srcdir)/$$cat as" \
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
64 "$$dir/$(PACKAGE).mo"; \
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
65 fi; \
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
66 done
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
67
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
68 clean:
6221
580070695352 [gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3714
diff changeset
69 rm -f *.gmo