~ubuntu-branches/ubuntu/wily/swell-foop/wily

« back to all changes in this revision

Viewing changes to po/Makefile.in.in

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2015-05-19 14:54:40 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20150519145440-5gvlqn2aijuq2xzw
Tags: 1:3.16.1-1
* New upstream release.
* Switch build-dependency from appdata-tools to appstream-util

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
datadir = @datadir@
34
34
datarootdir = @datarootdir@
35
35
libdir = @libdir@
36
 
DATADIRNAME = @DATADIRNAME@
37
 
itlocaledir = $(prefix)/$(DATADIRNAME)/locale
 
36
localedir = @localedir@
38
37
subdir = po
39
38
install_sh = @install_sh@
40
39
# Automake >= 1.8 provides @mkdir_p@.
80
79
 
81
80
.po.pox:
82
81
        $(MAKE) $(GETTEXT_PACKAGE).pot
83
 
        $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox
 
82
        $(MSGMERGE) $* $(GETTEXT_PACKAGE).pot -o $*.pox
84
83
 
85
84
.po.mo:
86
85
        $(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $<
108
107
install-data-yes: all
109
108
        linguas="$(USE_LINGUAS)"; \
110
109
        for lang in $$linguas; do \
111
 
          dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
 
110
          dir=$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \
112
111
          $(mkdir_p) $$dir; \
113
112
          if test -r $$lang.gmo; then \
114
113
            $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
142
141
uninstall:
143
142
        linguas="$(USE_LINGUAS)"; \
144
143
        for lang in $$linguas; do \
145
 
          rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
146
 
          rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
 
144
          rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
 
145
          rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
147
146
        done
148
147
 
149
148
check: all $(GETTEXT_PACKAGE).pot