File: rules

package info (click to toggle)
statsprocessor 0.11%2Bgit20160316-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 34,912 kB
  • sloc: ansic: 789; makefile: 42; sh: 8
file content (22 lines) | stat: -rwxr-xr-x 511 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/architecture.mk

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	rm -f sp64.1

override_dh_auto_build:
	dpkg-architecture -f -a$(DEB_BUILD_ARCH) -c dh_auto_build --sourcedirectory=src
	help2man -i debian/extra-man-info.txt \
	  -n 'word generator based on per-position Markov chains' \
	   -N ./src/sp64 > sp64.1
ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
	rm -f src/sp64
	dh_auto_build --sourcedirectory=src
endif