File: rules

package info (click to toggle)
suricata-update 1.3.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,240 kB
  • sloc: python: 6,297; makefile: 184; sh: 31
file content (23 lines) | stat: -rwxr-xr-x 555 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

export PYBUILD_NAME=suricata-update

mandir := $(CURDIR)/debian/man
debfolder := $(CURDIR)/debian

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

override_dh_auto_clean:
	rm -rf $(mandir) tests/tmp
	dh_auto_clean --

override_dh_installman:
	mkdir -p $(mandir)
	help2man --include=debian/include-link.txt --no-discard-stderr -N -n 'tool to update Suricata sources' bin/suricata-update > $(mandir)/suricata-update.1
	dh_installman --

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	PYTHONPATH=. py.test-3
endif