File: rules

package info (click to toggle)
dosage 2.15-3
  • links: PTS
  • area: main
  • in suites: sid
  • size: 1,396 kB
  • sloc: python: 12,074; makefile: 144; sh: 54
file content (24 lines) | stat: -rwxr-xr-x 618 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

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_configure:
# make sure the manifest is built
	python3 setup.py sdist --manifest-only

override_dh_installchangelogs:
	dh_installchangelogs doc/changelog.txt

ROOTDIR=$(CURDIR)/debian/dosage

override_dh_auto_install:
	python3 setup.py install --root=debian/dosage --install-layout=deb;
	install -m 644 doc/dosage-completion $(ROOTDIR)/usr/share/bash-completion/completions

override_dh_clean:
# clean generated files
	dh_clean _Dosage_configdata.py _dosage_configdata.py

override_dh_auto_test:
# do not run test suite when building