File: rules

package info (click to toggle)
maskprocessor 0.73%2Bgit20170609.1708898-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 204 kB
  • sloc: ansic: 723; makefile: 44; sh: 8
file content (21 lines) | stat: -rwxr-xr-x 529 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
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	rm -f mp64.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 'high-performance word generator with a per-position configurable charset' \
	   -N ./src/mp64 > mp64.1
ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
	rm src/mp64
	dh_auto_build --sourcedirectory=src
endif