File: rules

package info (click to toggle)
filtlong 0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 4,564 kB
  • sloc: cpp: 3,533; python: 915; sh: 84; makefile: 37
file content (14 lines) | stat: -rwxr-xr-x 286 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

execute_after_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