~ubuntu-branches/ubuntu/gutsy/python-dns/gutsy-security

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Joerg Wendland
  • Date: 2003-08-20 14:25:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20030820142529-3facqpkoslard81q
Tags: 2.3.0-5
* debian/control:
  Use ${python:Depends} for Depends, so that correct Depends are
  generated by dh_python. (closes: Bug#205884)
* debian/python-dns.postinst
  debian/python-dns.prerm:
  Remove these files and let debhelper handle these issues.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
export DH_COMPAT=3
4
 
 
5
 
PYTHON = /usr/bin/python2.1
6
 
debdir = $(shell pwd)/debian
7
 
tmpdir = $(debdir)/tmp
8
 
 
9
 
configure:
10
 
 
11
 
build: configure
12
 
 
13
 
install: 
14
 
        $(PYTHON) setup.py install -f --no-compile --root $(tmpdir)
15
 
        dh_movefiles
16
 
 
17
 
clean:
18
 
        dh_clean
 
3
include /usr/share/cdbs/1/rules/debhelper.mk
 
4
include /usr/share/cdbs/1/class/python-distutils.mk
 
5
 
 
6
DEB_PYTHON_INSTALL_ARGS_ALL := ${DEB_PYTHON_INSTALL_ARGS_ALL} \
 
7
        --install-lib /usr/lib/site-python
 
8
 
 
9
clean::
19
10
        rm -f DNS/*.pyc
20
 
        rm -rf build/*
21
 
 
22
 
binary: binary-arch binary-indep
23
 
 
24
 
binary-indep: install 
25
 
        dh_installdocs -i
26
 
        dh_installchangelogs -i
27
 
        dh_compress -i
28
 
        dh_md5sums -i
29
 
        dh_gencontrol -i
30
 
        dh_installdeb -i
31
 
        dh_builddeb -i
32
 
 
33
 
binary-arch: 
34
 
 
35
 
.PHONY: configure build install clean binary-arch binary-indep binary
 
 
b'\\ No newline at end of file'
 
11
 
 
12
install/python-dns::
 
13
        rm -f debian/python-dns/usr/lib/site-python/DNS/win32dns.py
 
14