File: rules

package info (click to toggle)
gitless 0.8.6-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 476 kB
  • sloc: python: 3,796; sh: 76; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 400 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

export PYBUILD_NAME=gitless

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

override_dh_auto_clean:
	dh_auto_clean
	rm -rf .eggs
	rm -rf gitless.egg-info

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	'${CURDIR}/debian/run-simple-test.sh'
	env GITLESS=./gl '${CURDIR}/debian/run-upstream-test.sh'
endif

override_dh_missing:
	dh_missing --fail-missing