Mercurial > pidgin.yaz
annotate po/Makefile.mingw @ 9588:bb722a784568
[gaim-migrate @ 10431]
" This patch, and associated PNGs in the tar.gz, switches
to using PNGs for the chat user status icons.
I'd prefer to stick with SVGs, but older GTK 2.0
installs do not have SVG pixbuf loaders as far as I can
tell, and I have been unable to get the SVGs to display
at all using the new GTK 2.4.3 on Win32." --Stu Tomlinson - nosnilmot
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sat, 24 Jul 2004 15:31:15 +0000 |
parents | 580070695352 |
children | 6dcfec6f2f7c |
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 |
3630 | 22 GMSGFMT = $(GTK_BIN)/msgfmt |
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 |