File: rules

package info (click to toggle)
python-stone 3.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,748 kB
  • sloc: python: 21,736; objc: 498; sh: 30; makefile: 11
file content (20 lines) | stat: -rwxr-xr-x 481 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 $@ --with python3 --buildsystem=pybuild


override_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