~aw/openobject-client/5.0

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Anders Wallenquist
  • Date: 2010-08-06 15:32:20 UTC
  • Revision ID: aw@todd-20100806153220-bbfsb2u47qky9133
Package information

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
%:
 
4
        dh ${@} --with quilt
 
5
 
 
6
override_dh_auto_clean:
 
7
        dh_auto_clean
 
8
 
 
9
        rm -rf build
 
10
 
 
11
override_dh_auto_install:
 
12
        python setup.py install --no-compile --prefix=$(CURDIR)/debian/openerp-client/usr
 
13
 
 
14
        # Adjusting program location
 
15
        sed -i -e 's|cd .*python.*/site-packages|cd /usr/lib|' debian/openerp-client/usr/bin/openerp-client
 
16
        mv debian/openerp-client/usr/lib/python*/site-packages/openerp-client debian/openerp-client/usr/lib
 
17
        rm -rf debian/openerp-client/usr/lib/python*
 
18
 
 
19
        # Removing useless files
 
20
        rm -rf debian/openerp-client/usr/share/doc/openerp-client-*
 
21
 
 
22
override_dh_installchangelogs:
 
23
        dh_installchangelogs doc/Changelog