File: rules

package info (click to toggle)
sniffles 1.0.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 484 kB
  • ctags: 671
  • sloc: cpp: 5,867; makefile: 18
file content (30 lines) | stat: -rwxr-xr-x 506 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
25
26
27
28
29
30
#!/usr/bin/make -f

#export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

INCLUDE_PATHS = /usr/include/bamtools

space=
space+=

%:
	dh $@


override_dh_auto_build: debian/sniffles.1
	dh_auto_build

override_dh_auto_configure:
	dh_auto_configure -- \
	-DCMAKE_INCLUDE_PATH="$(subst $(space),:,$(strip $(INCLUDE_PATHS)))"

override_dh_auto_clean:
	dh_auto_clean
	find -name "*.mk" -delete
	$(RM) makefile
	$(RM) debian/sniffles.1

%.1: %.1.md
	pandoc --from markdown --to man -s $< -o $@