~ubuntu-branches/ubuntu/lucid/iotop/lucid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Paul Wise
  • Date: 2009-02-24 18:09:50 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090224180950-jl97nbr2rr0t9qbk
Tags: 0.2.1-1
* New upstream release (Closes: #511649)
* List needed kernel config options in description (Closes: #497360)
* Avoid use of first-person in description
* Build-dep on python-setuptools instead of using the egg
* Switch from cdbs to debhelper 7
* Add a README.source pointing to the quilt one

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
DEB_PYTHON_SYSTEM = pysupport
4
 
DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
5
 
  
6
 
include /usr/share/cdbs/1/rules/debhelper.mk
7
 
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
8
 
include /usr/share/cdbs/1/class/python-distutils.mk
9
 
 
10
 
install/iotop::
11
 
        sed -i -e 's/--only/\\-\\-only/' debian/iotop/usr/share/man/man1/iotop.1
12
 
 
13
 
clean::
 
3
include /usr/share/quilt/quilt.make
 
4
 
 
5
build: build-stamp
 
6
build-stamp: $(QUILT_STAMPFN)
 
7
        rm -f setuptools-0.6c6-py2.4.egg
 
8
        dh build
 
9
        touch build-stamp
 
10
 
 
11
clean: unpatch
14
12
        rm -rf iotop.egg-info
 
13
        dh clean
 
14
 
 
15
%:
 
16
        dh $@