comparison po/Makefile.mingw @ 3714:380b043a4a1c

[gaim-migrate @ 3847] cleaning.. committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Wed, 16 Oct 2002 19:39:27 +0000
parents 9682c0e022c6
children 580070695352
comparison
equal deleted inserted replaced
3713:e3a8baffcc24 3714:380b043a4a1c
3 # Description: Makefile to generate mo files 3 # Description: Makefile to generate mo files
4 # 4 #
5 5
6 PACKAGE = gaim 6 PACKAGE = gaim
7 7
8 ##
9 ## PATHS
10 ##
8 11
9 srcdir = . 12 srcdir = .
10 top_srcdir = .. 13 GAIM_TOP = ..
11 GAIM_INSTALL_DIR = ../win32-install-dir 14 GAIM_INSTALL_DIR = ../win32-install-dir
12 LOCALEDIR = $(GAIM_INSTALL_DIR)/locale 15 LOCALEDIR = $(GAIM_INSTALL_DIR)/locale
13 CC = gcc
14 GTK_BIN = ../../win32-dev/gtk_2_0/bin 16 GTK_BIN = ../../win32-dev/gtk_2_0/bin
17
18 ##
19 ## TOOLS
20 ##
21
15 GMSGFMT = $(GTK_BIN)/msgfmt 22 GMSGFMT = $(GTK_BIN)/msgfmt
16 MSGFMT = $(GTK_BIN)/msgfmt 23 MSGFMT = $(GTK_BIN)/msgfmt
17 XGETTEXT = $(GTK_BIN)/xgettext 24 XGETTEXT = $(GTK_BIN)/xgettext
18 MSGMERGE = $(GTK_BIN)/msgmerge 25 MSGMERGE = $(GTK_BIN)/msgmerge
19 26
82 89
83 90
84 all: $(CATALOGS) 91 all: $(CATALOGS)
85 92
86 $(PACKAGE).pot: $(POTFILES) POTFILES.in 93 $(PACKAGE).pot: $(POTFILES) POTFILES.in
87 $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \ 94 $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(GAIM_TOP) \
88 --add-comments --keyword=_ --keyword=N_ \ 95 --add-comments --keyword=_ --keyword=N_ \
89 --files-from=$(srcdir)/POTFILES.in \ 96 --files-from=$(srcdir)/POTFILES.in \
90 && test ! -f $(PACKAGE).po \ 97 && test ! -f $(PACKAGE).po \
91 || ( rm -f $(srcdir)/$(PACKAGE).pot \ 98 || ( rm -f $(srcdir)/$(PACKAGE).pot \
92 && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot ) 99 && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot )