~michael-sheldon/ubuntu/utopic/maliit-framework/fix-1373985

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2013-01-31 13:26:48 UTC
  • Revision ID: package-import@ubuntu.com-20130131132648-ex6051y9ppxrffhz
Tags: 0.94.1-1~ubuntu1
Upload to Ubuntu while waiting for Debian NEW 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# -*- makefile -*-
 
3
# Uncomment this to turn on verbose mode.
 
4
export DH_VERBOSE=1
 
5
 
 
6
# Build options
 
7
QMAKE_OPTIONS = \
 
8
        M_IM_PREFIX=/usr \
 
9
        MALIIT_SERVER_ARGUMENTS="-software -bypass-wm-hint" \
 
10
        CONFIG+=disable-gtk-cache-update \
 
11
        CONFIG+=enable-dbus-activation
 
12
 
 
13
override_dh_auto_configure:
 
14
        dh_auto_configure -- -r $(QMAKE_OPTIONS)
 
15
 
 
16
override_dh_auto_clean:
 
17
        dh_auto_clean
 
18
        rm -rf lib/* .obj
 
19
        rm -f connection/*glue.h connection-glib/*glue.h maliit-glib/html.stamp
 
20
 
 
21
override_dh_auto_install:
 
22
        GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 dh_auto_install
 
23
 
 
24
override_dh_auto_test:
 
25
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 
26
        make -C tests
 
27
        xvfb-run make check
 
28
endif
 
29
 
 
30
override_dh_install:
 
31
        dh_install --list-missing --fail-missing -Xexample -Xtests
 
32
        dh_gtkmodules -p maliit-inputcontext-gtk2
 
33
        dh_gtkmodules -p maliit-inputcontext-gtk3
 
34
 
 
35
override_dh_makeshlibs:
 
36
        dh_makeshlibs -- -c4
 
37
 
 
38
override_dh_strip:
 
39
        dh_strip -pmaliit-framework \
 
40
                --dbg-package=maliit-framework-dbg
 
41
        dh_strip -plibmaliit0 \
 
42
                --dbg-package=libmaliit0-dbg
 
43
        dh_strip -plibmaliit-glib0 \
 
44
                --dbg-package=libmaliit-glib0-dbg
 
45
        dh_strip
 
46
 
 
47
%:
 
48
        dh $@
 
49
 
 
50
.PHONY: override_dh_auto_configure override_dh_auto_clean override_dh_auto_install override_dh_auto_test override_dh_install override_dh_makeshlibs override_dh_strip