~renatofilho/files-app/debian

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Renato Araujo Oliveira Filho
  • Date: 2017-03-10 00:44:53 UTC
  • Revision ID: renato.filho@canonical.com-20170310004453-6zpbhrvemcxa8v5r
Rename project name to files-app 
Create debian package

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
 
4
export QT_QPA_PLATFORM = minimal
 
5
 
 
6
%:
 
7
        dh $@ --parallel --with translations
 
8
 
 
9
override_dh_auto_configure:
 
10
        dh_auto_configure -- -DCLICK_MODE=OFF -DINSTALL_TESTS=ON
 
11
 
 
12
override_dh_install:
 
13
        dh_install --fail-missing
 
14
        dh_apparmor -pfiles-app --profile-name=files-app
 
15
 
 
16
override_dh_translations:
 
17
        # Override dh_translations to work around http://pad.lv/1183262.
 
18
        # Unfortunately, the default build directory is not exposed
 
19
        # (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601774).
 
20
        $(MAKE) -C obj-$(DEB_HOST_GNU_TYPE) files-app.pot