~ubuntu-branches/debian/sid/xfce4-clipman-plugin/sid

« back to all changes in this revision

Viewing changes to po/Makefile.in.in

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez, Simon Huggins, Yves-Alexis Perez
  • Date: 2008-03-04 22:56:46 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080304225646-qavelxwgscqfqcu1
Tags: 2:0.8.1-1
[ Simon Huggins ]
* debian/control: Move fake Homepage field to a real one now dpkg
  supports it.
* Add Vcs-* headers to debian/control

[ Yves-Alexis Perez ]
* new upstream release.
  - fix crash with UTF-8 text.
* debian/control:
  - update my email address.
  - update standards version to 3.7.3.
* debian/copyright: completely rewritten, especially the license part.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
srcdir = @srcdir@
27
27
top_srcdir = @top_srcdir@
28
 
top_builddir = ..
 
28
top_builddir = @top_builddir@
29
29
VPATH = @srcdir@
30
30
 
31
31
prefix = @prefix@
57
57
 
58
58
PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; fi)
59
59
 
60
 
POFILES=$(shell if test -n "$(PO_LINGUAS)"; then LINGUAS="$(PO_LINGUAS)"; else LINGUAS="$(ALL_LINGUAS)"; fi; for lang in $$LINGUAS; do printf "$$lang.po "; done)
 
60
USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep ^$$lang$$ $(srcdir)/LINGUAS`" -o -n "`echo $$ALINGUAS|grep ' ?$$lang ?'`"; then printf "$$lang "; fi; done; fi)
 
61
 
 
62
USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done)
 
63
 
 
64
POFILES=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done)
61
65
 
62
66
DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(POFILES)
63
67
EXTRA_DISTFILES = POTFILES.skip Makevars LINGUAS
64
68
 
65
69
POTFILES = \
66
 
#This Gets Replace for some reason
 
70
# This comment gets stripped out
67
71
 
68
 
CATALOGS=$(shell if test -n "$(PO_LINGUAS)"; then LINGUAS="$(PO_LINGUAS)"; else LINGUAS="$(ALL_LINGUAS)"; fi; for lang in $$LINGUAS; do printf "$$lang.gmo "; done)
 
72
CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done)
69
73
 
70
74
.SUFFIXES:
71
75
.SUFFIXES: .po .pox .gmo .mo .msg .cat
99
103
install-data-no: all
100
104
install-data-yes: all
101
105
        $(mkdir_p) $(DESTDIR)$(itlocaledir)
102
 
        if test -n "$(PO_LINGUAS)"; then \
103
 
          linguas="$(PO_LINGUAS)"; \
104
 
        else \
105
 
          linguas="$(ALL_LINGUAS)"; \
106
 
        fi; \
 
106
        linguas="$(USE_LINGUAS)"; \
107
107
        for lang in $$linguas; do \
108
108
          dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
109
109
          $(mkdir_p) $$dir; \
134
134
dvi info tags TAGS ID:
135
135
 
136
136
# Define this as empty until I found a useful application.
137
 
installcheck:
 
137
install-exec installcheck:
138
138
 
139
139
uninstall:
140
 
        if test -n "$(PO_LINGUAS)"; then \
141
 
          linguas="$(PO_LINGUAS)"; \
142
 
        else \
143
 
          linguas="$(ALL_LINGUAS)"; \
144
 
        fi; \
 
140
        linguas="$(USE_LINGUAS)"; \
145
141
        for lang in $$linguas; do \
146
142
          rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
147
143
          rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
148
144
        done
149
145
 
150
146
check: all $(GETTEXT_PACKAGE).pot
 
147
        rm -f missing notexist
 
148
        srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m
 
149
        if [ -r missing -o -r notexist ]; then \
 
150
          exit 1; \
 
151
        fi
151
152
 
152
153
mostlyclean:
153
154
        rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp
180
181
update-po: Makefile
181
182
        $(MAKE) $(GETTEXT_PACKAGE).pot
182
183
        tmpdir=`pwd`; \
183
 
        if test -n "$(PO_LINGUAS)"; then \
184
 
          linguas="$(PO_LINGUAS)"; \
185
 
        else \
186
 
          linguas="$(ALL_LINGUAS)"; \
187
 
        fi; \
 
184
        linguas="$(USE_LINGUAS)"; \
188
185
        for lang in $$linguas; do \
189
186
          echo "$$lang:"; \
190
187
          result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \
212
209
          $(MAKE) stamp-it; \
213
210
        fi
214
211
 
215
 
stamp-it: Makefile.in.in ../config.status POTFILES.in
216
 
        cd .. \
 
212
stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in
 
213
        cd $(top_builddir) \
217
214
          && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \
218
215
               $(SHELL) ./config.status
219
216