File: rules

package info (click to toggle)
signify-openbsd 30-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 560 kB
  • sloc: ansic: 4,311; makefile: 203; sh: 72
file content (25 lines) | stat: -rwxr-xr-x 615 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
#!/usr/bin/make -f
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
-include /usr/share/dpkg/buildtools.mk
export PKG_CONFIG ?= pkg-config

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_installman:
	mv signify.1 signify-openbsd.1
	dh_installman

override_dh_auto_install:
	dh_auto_install
	# remove the openbsd manpage dir
	rm -r debian/signify-openbsd/share
	# move signify to signify-openbsd
	mv debian/signify-openbsd/bin/signify debian/signify-openbsd/bin/signify-openbsd

override_dh_clean:
	if [ -f signify-openbsd.1 ]; then mv signify-openbsd.1 signify.1; fi
	dh_clean