File: rules

package info (click to toggle)
filtlong 0.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,660 kB
  • sloc: cpp: 3,442; python: 779; sh: 84; makefile: 38
file content (17 lines) | stat: -rwxr-xr-x 315 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# DH_VERBOSE := 1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	markdown_py -f README.html README.md

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	python3 -m unittest
	find test -name __pycache__ | xargs rm -rf
endif