File: rules

package info (click to toggle)
patool 1.12-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 904 kB
  • sloc: python: 4,011; makefile: 109
file content (24 lines) | stat: -rwxr-xr-x 446 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

export PYBUILD_NAME=patool

%:
	dh $@ --with python3,bash-completion --buildsystem=pybuild

override_dh_auto_build:
# force usage of setup.py over Makefile
	dh_auto_build

override_dh_clean:
	rm -rf _patool_configdata.py
	dh_clean

# do not run test suite when building
override_dh_auto_test:

override_dh_installchangelogs:
# install custom changelog
	dh_installchangelogs doc/changelog.txt

override_dh_install:
	dh_install