~transmissionbt/transmission/ppa-oneiric

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Andreas Noteng
  • Date: 2011-09-24 07:47:21 UTC
  • Revision ID: andreas@noteng.no-20110924074721-ijprkm7eebr9wt5e
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
3
#export DH_VERBOSE=1
4
 
export DEB_BUILD_OPTIONS="nocheck"
 
4
#export DEB_BUILD_OPTIONS="nocheck"
 
5
LDFLAGS=-Wl,--as-needed,--no-undefined,--no-add-needed
5
6
 
6
7
%:
7
 
        dh $@ --with autoreconf
 
8
        dh $@ --with autotools-dev --with autoreconf
8
9
 
9
10
override_dh_auto_configure:
10
11
        dh_auto_configure
11
 
        # qt client has a separate build-system
12
 
        ( cd qt && qmake-qt4 qtr.pro )
 
12
                --enable-libappindicator --enable-notify \
 
13
                --disable-libgconf
13
14
 
14
15
override_dh_auto_build:
15
16
        dh_auto_build
16
 
        ( cd qt && $(MAKE) )
17
 
        cd po; intltool-update -p --verbose
 
17
        dh_auto_configure -Dqt
 
18
        dh_auto_build -Dqt
 
19
        (cd qt && lrelease qtr.pro)
18
20
 
19
21
override_dh_auto_clean:
20
 
        [ ! -f qt/Makefile ] || ( cd qt && $(MAKE) clean )
21
22
        dh_auto_clean
 
23
        dh_auto_clean -Dqt
 
24
        rm -f qt/translations/*.qm
22
25
 
23
26
override_dh_installchangelogs:
24
27
        dh_installchangelogs -p transmission-common NEWS
28
31
        dh_installexamples -p transmission-common
29
32
 
30
33
override_dh_install:
31
 
        dh_install -X LICENSE # extra copy in web dir - costela 2008-08-15
 
34
        dh_install --list-missing -X LICENSE # extra copy in web dir - costela 2008-08-15
32
35
 
33
36
override_dh_auto_install:
34
37
        dh_auto_install
35
 
        ( cd qt && INSTALL_ROOT=$(CURDIR)/debian/tmp/usr $(MAKE) install )
 
38
        dh_auto_install -Dqt -- INSTALL_ROOT=$(CURDIR)/debian/tmp/usr
36
39
 
37
40
override_dh_strip:
38
41
        dh_strip -a --dbg-package=transmission-dbg