File: rules

package info (click to toggle)
libcrypt-argon2-perl 0.013-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 264 kB
  • sloc: ansic: 2,033; perl: 139; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 448 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	mkdir -p $(TMP)/usr/share/man/man1
	pod2man --utf8 --section 1p $(CURDIR)/script/argon2-calibrate > $(TMP)/usr/share/man/man1/argon2-calibrate.1p

override_dh_install:
	dh_install
	sed -i '1s|^#!perl|#!/usr/bin/perl|' $(TMP)/usr/bin/argon2-calibrate