summaryrefslogtreecommitdiff
path: root/debian/rules
blob: a6919824eb9755cece45ef9eba0d894eba3d9ece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

python-apt: build debian/shlibs.local
	dh_testdir -p$@
	dh_testroot -p$@
	dh_clean -p$@ -k
	dh_installdirs -p$@

	# install the modules
	cp $(BLD)/bin/apt_pkgmodule.so $(BLD)/bin/apt_instmodule.so debian/$@/usr/lib/python$(PYTHONVER)/site-packages/
	
	dh_installdocs -p$@
	dh_installexamples -p$@ $(BLD)/docs/examples/python/*

	dh_installchangelogs -p$@
	dh_strip -p$@
	dh_compress -p$@
	dh_fixperms -p$@
	dh_installdeb -p$@
	LD_LIBRARY_PATH=`pwd`/debian/tmp/usr/lib:`pwd`/debian/apt-utils/usr/lib dh_shlibdeps -p$@
	dh_gencontrol -p$@ 
	dh_md5sums -p$@
	dh_builddeb -p$@