changeset 6221:580070695352

[gaim-migrate @ 6708] Make sure CATALOGS is up to date committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Fri, 18 Jul 2003 17:51:05 +0000
parents 6ccfed90c918
children 47cc18a3cff2
files po/Makefile.mingw
diffstat 1 files changed, 3 insertions(+), 54 deletions(-) [+]
line wrap: on
line diff
--- a/po/Makefile.mingw	Fri Jul 18 16:10:16 2003 +0000
+++ b/po/Makefile.mingw	Fri Jul 18 17:51:05 2003 +0000
@@ -20,65 +20,22 @@
 ##
 
 GMSGFMT = $(GTK_BIN)/msgfmt
-MSGFMT = $(GTK_BIN)/msgfmt
-XGETTEXT = $(GTK_BIN)/xgettext
-MSGMERGE = $(GTK_BIN)/msgmerge
 
 
 .SUFFIXES:
-.SUFFIXES: .c .o .po .pot .pox .gmo .mo
+.SUFFIXES: .po .gmo
 
 
 ##
 ## SOURCES, OBJECTS
 ##
 
-CATALOGS =  bg.gmo cs.gmo da.gmo de.gmo es.gmo fi.gmo fr.gmo hu.gmo it.gmo ja.gmo ko.gmo nl.gmo pl.gmo ro.gmo ru.gmo sk.gmo sv.gmo zh_CN.gmo zh_TW.gmo
-
-POTFILES = \
-     		     ../plugins/docklet/docklet.c \
-     		     ../plugins/chatlist.c \
-		     ../plugins/gtik.c \
-		     ../src/protocols/gg/gg.c \
-     		     ../src/protocols/icq/gaim_icq.c \
-		     ../src/protocols/irc/irc.c \
-		     ../src/protocols/jabber/jabber.c \
-		     ../src/protocols/msn/msn.c \
-		     ../src/protocols/napster/napster.c \
-		     ../src/protocols/oscar/oscar.c \
-		     ../src/protocols/toc/toc.c \
-		     ../src/protocols/yahoo/yahoo.c \
-		     ../src/protocols/zephyr/zephyr.c \
-		     ../src/about.c \
-		     ../src/aim.c \
-		     ../src/away.c \
-		     ../src/buddy.c \
-		     ../src/buddy_chat.c \
-		     ../src/conversation.c \
-		     ../src/dialogs.c \
-		     ../src/gaimrc.c \
-		     ../src/html.c \
-		     ../src/module.c \
-		     ../src/multi.c \
-		     ../src/perl.c \
-		     ../src/plugins.c \
-		     ../src/prefs.c \
-		     ../src/prpl.c \
-		     ../src/server.c \
-		     ../src/sound.c
-
+CATALOGS = $(patsubst %.po,%.gmo,$(wildcard *.po))
 
 ##
 ## RULES
 ##
 
-.pot.pox:
-	$(MAKE) $(PACKAGE).pot
-	$(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox
-
-.po.mo:
-	$(MSGFMT) -o $@ $<
-
 .po.gmo:
 	rm -f $@ && $(GMSGFMT) --statistics -o $@ $<
 
@@ -90,14 +47,6 @@
 
 all: $(CATALOGS)
 
-$(PACKAGE).pot: $(POTFILES) POTFILES.in
-	$(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(GAIM_TOP) \
-	  --add-comments --keyword=_ --keyword=N_ \
-	  --files-from=$(srcdir)/POTFILES.in \
-	&& test ! -f $(PACKAGE).po \
-	   || ( rm -f $(srcdir)/$(PACKAGE).pot \
-		&& mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot )
-
 install: all
 	mkdir -p $(LOCALEDIR)
 	@catalogs='$(CATALOGS)'; \
@@ -117,4 +66,4 @@
 	done
 
 clean:
-	rm -f *.gmo *.pot *.pox
+	rm -f *.gmo