File: rules

package info (click to toggle)
python-stone 3.3.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,956 kB
  • sloc: python: 21,786; objc: 498; sh: 29; makefile: 11
file content (20 lines) | stat: -rwxr-xr-x 471 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=stone
export PYBUILD_BEFORE_TEST=cp -r {dir}/test {build_dir}
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/test

%:
	dh $@ --buildsystem=pybuild


execute_after_dh_auto_install:
	dh_auto_install
	mv debian/python3-stone/usr/bin/stone debian/python3-stone/usr/bin/stone-py

override_dh_installman:
	docbook-to-man debian/manpage.stone.sgml > stone-py.1
	dh_installman