~online-accounts/account-plugins/12.10

« back to all changes in this revision

Viewing changes to data/providers/Makefile.am

  • Committer: David King
  • Date: 2012-10-05 08:10:47 UTC
  • mfrom: (69.1.4 i18n-support)
  • Revision ID: david.king@canonical.com-20121005081047-z4u4txzwpfce8r5r
Use intltool for internationalization support

* Correct project URLs in configure.ac
* Add intltool support to build system
* Extract strings from provider and service files
* Skip service files without translations

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dist_providers_DATA = \
2
 
        facebook.provider \
3
 
        flickr.provider \
4
 
        foursquare.provider \
5
 
        google.provider \
6
 
        identica.provider \
7
 
        sina.provider \
8
 
        sohu.provider \
9
 
        twitter.provider \
10
 
        windows-live.provider
 
1
# Extract transatable strings from .provider files
 
2
%.provider: %.provider.in $(INTLTOOL_MERGE)
 
3
        $(INTLTOOL_V_MERGE) LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_MERGE_V_OPTIONS) --no-translations -x -u $< $@
 
4
 
 
5
providers_in_files = \
 
6
        facebook.provider.in \
 
7
        flickr.provider.in \
 
8
        foursquare.provider.in \
 
9
        google.provider.in \
 
10
        identica.provider.in \
 
11
        sina.provider.in \
 
12
        sohu.provider.in \
 
13
        twitter.provider.in \
 
14
        windows-live.provider.in
 
15
 
 
16
providers_DATA = \
 
17
        $(providers_in_files:.provider.in=.provider)
 
18
 
 
19
dist_noinst_DATA = \
 
20
        $(providers_in_files)
 
21
 
 
22
CLEANFILES = \
 
23
        $(services_DATA)