File: rules

package info (click to toggle)
libalgorithm-checkdigits-perl 1.3.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 500 kB
  • sloc: perl: 3,285; makefile: 13
file content (19 lines) | stat: -rwxr-xr-x 553 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	mv debian/libalgorithm-checkdigits-perl/usr/bin/checkdigits.pl debian/libalgorithm-checkdigits-perl/usr/bin/checkdigits

override_dh_installman: debian/checkdigits.1
	dh_installman

debian/checkdigits.1:
	PERL5LIB=debian/libalgorithm-checkdigits-perl/usr/share/perl5 \
		help2man debian/libalgorithm-checkdigits-perl/usr/bin/checkdigits \
		--version-string $(DEB_VERSION_UPSTREAM) --name 'verify and compute checkdigits' \
		--no-info > $@