~om26er/address-book-app/abook_navigation_favorites

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Renato Araujo Oliveira Filho
  • Date: 2013-06-27 20:05:52 UTC
  • Revision ID: renato.filho@canonical.com-20130627200552-b115j5fcqfnpy7ez
First commit of Address Book Application

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# -*- makefile -*-
 
3
 
 
4
# Uncomment this to turn on verbose mode.
 
5
#export DH_VERBOSE=1
 
6
 
 
7
override_dh_install:
 
8
        dh_install --fail-missing
 
9
 
 
10
%:
 
11
        dh $@ --parallel --with translations
 
12
 
 
13
override_dh_auto_configure:
 
14
        dh_auto_configure -- -DCMAKE_BUILD_TYPE=Debug
 
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) address-book-app.pot
 
21
 
 
22
.PHONY: override_dh_strip
 
23
override_dh_strip:
 
24
        dh_strip --dbg-package=address-book-app