~ubuntu-branches/ubuntu/trusty/ggz-gtk-client/trusty

« back to all changes in this revision

Viewing changes to po/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Peter Eisentraut, Josef Spillner, Peter Eisentraut
  • Date: 2006-10-20 23:06:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061020230651-u1vcph06q6fmbaa7
Tags: 0.0.13-3
[ Josef Spillner ]
* Section change: libggz-gtk0 is in libs

[ Peter Eisentraut ]
* Fixed package dependencies for binNMU compatibility
* Disabled gaim plugin for the time being (closes: #392457)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to produce Makefile.in
 
2
# $Id: Makefile.am 7031 2005-03-23 16:31:42Z josef $
 
3
 
1
4
SUBDIRS = .
2
5
 
3
 
XGETTEXT = xgettext
4
 
MSGMERGE = msgmerge
5
 
MSGFMT = msgfmt
6
 
 
7
 
EXTRA_DIST = ggz-gtk.pot de.po es_AR.po pt_BR.po
 
6
EXTRA_DIST = ggz-gtk.pot de.po es.po pt_BR.po sv.po
8
7
 
9
8
CATALOG = ggz-gtk
10
 
 
11
 
messages:
12
 
        $(XGETTEXT) -k_ -kN_ ../ggz-gtk/*.c -o $(CATALOG).pot
13
 
        @for j in `ls -1 *.po`; do \
14
 
                echo "process $$j"; \
15
 
                $(MSGMERGE) $$j $(CATALOG).pot > .$$j 2>/dev/null; \
16
 
                mv .$$j $$j; \
17
 
        done
18
 
 
19
 
install-data-local:
20
 
        for j in $(top_srcdir)/po/*.po; do \
21
 
                k=$$(basename $$j); \
22
 
                country=`echo $$k | cut -d "." -f 1`; \
23
 
                dir=$(DESTDIR)$(prefix)/share/locale/$$country/LC_MESSAGES; \
24
 
                echo "installing $$dir/$(CATALOG).mo ($$k)"; \
25
 
                install -d $$dir; \
26
 
                $(MSGFMT) -o $$dir/$(CATALOG).mo $$j; \
27
 
        done
28
 
 
29
 
uninstall-local:
30
 
        for j in $(top_srcdir)/po/*.po; do \
31
 
                k=$$(basename $$j); \
32
 
                country=`echo $$k | cut -d "." -f 1`; \
33
 
                dir=$(DESTDIR)$(prefix)/share/locale/$$country/LC_MESSAGES; \
34
 
                rm -f $$dir/$(CATALOG).mo; \
35
 
        done
 
9
POSOURCES = $(top_srcdir)/ggz-gtk/*.c
 
10
 
 
11
include $(top_srcdir)/m4/i18n.mk
36
12