~ubuntu-branches/ubuntu/quantal/psi/quantal

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2008-04-14 18:57:30 UTC
  • mfrom: (2.1.9 hardy)
  • Revision ID: james.westby@ubuntu.com-20080414185730-528re3zp0m2hdlhi
Tags: 0.11-8
* added CONFIG -= link_prl to .pro files and removed dependencies
  which are made unnecessary by this change
* Fix segfault when closing last chat tab with qt4.4
  (This is from upstream svn, rev. 1101) (Closes: Bug#476122)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
# Uncomment this to turn on verbose mode.
6
6
#export DH_VERBOSE=1
7
7
 
8
 
# This is the debhelper compatability version to use.
9
 
export DH_COMPAT=4
10
 
 
11
8
configure: configure-stamp
12
9
configure-stamp:
13
10
        dh_testdir
21
18
        dh_testdir
22
19
 
23
20
        # Add here commands to compile the package.
24
 
        KDEDIR=/usr ./configure --prefix=/usr
25
 
        QTDIR=/usr/share/qt3 $(MAKE) 
 
21
        ./configure --prefix=/usr --qtdir=/usr/share/qt4/ --disable-bundled-qca # --enable-debug
 
22
        $(MAKE) 
26
23
        #/usr/bin/docbook-to-man debian/psi.sgml > psi.1
27
24
 
28
25
        touch build-stamp
33
30
        rm -f build-stamp configure-stamp
34
31
 
35
32
        # Add here commands to clean up after the build process.
36
 
        -$(MAKE) -C libpsi/psiwidgets distclean
37
 
        -$(MAKE) clean
 
33
        [ ! -f Makefile ] || $(MAKE) distclean
38
34
        -rm src/Makefile
39
35
        -rm Makefile
40
36
        -rm libpsi/psiwidgets/Makefile
55
51
        dh_installdirs
56
52
 
57
53
        # Add here commands to install the package into debian/psi.
58
 
        QTDIR=/usr/share/qt3 $(MAKE) install INSTALL_ROOT=$(CURDIR)/debian/psi
 
54
        $(MAKE) install INSTALL_ROOT=$(CURDIR)/debian/psi
59
55
 
60
56
        mkdir -p $(CURDIR)/debian/psi/usr/share/doc/psi
61
57
        mkdir -p $(CURDIR)/debian/psi/usr/share/lintian/overrides/
64
60
        ln -sf ../../psi/README $(CURDIR)/debian/psi/usr/share/doc/psi/README
65
61
        cp ./debian/lintian-override $(CURDIR)/debian/psi/usr/share/lintian/overrides/psi
66
62
        cp ./psi.xpm $(CURDIR)/debian/psi/usr/share/pixmaps
67
 
        chmod a-x $(CURDIR)/debian/psi/usr/share/psi/iconsets/system/default/clients/*.png
68
63
 
69
64
# Build architecture-independent files here.
70
65
binary-indep: build install
87
82
        dh_installman
88
83
#       dh_installinfo
89
84
#       dh_undocumented
90
 
        dh_installchangelogs ChangeLog
 
85
        dh_installchangelogs
 
86
        dh_icons
91
87
        dh_link
92
88
        dh_strip
93
89
        dh_compress