~pkunal-parmar/ubuntu-calendar-app/ICalImport

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Sergio Schvezov
  • Date: 2014-01-18 23:29:11 UTC
  • mto: This revision was merged to the branch mainline in revision 184.
  • Revision ID: sergio.schvezov@canonical.com-20140118232911-p3jdkkomszdl2l70
Adding cmake 

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
override_dh_auto_test:
11
11
        QT_QPA_PLATFORM=minimal qmltestrunner -input tests/unittests/
12
 
 
13
 
override_dh_install:
14
 
        dh_install --fail-missing
15
 
        appname=com.ubuntu.calendar; \
16
 
        for pofile in $(shell find ./po -name "*.po"); do \
17
 
                pofilename="$${pofile##*/}"; \
18
 
                langcode="$${pofilename%.*}"; \
19
 
                localedir="usr/share/locale/$$langcode/LC_MESSAGES"; \
20
 
                mofile="$$appname.mo"; \
21
 
                msgfmt -o $$mofile $$pofile; \
22
 
                dh_install $$mofile $$localedir; \
23
 
                rm -f $$mofile; \
24
 
        done