File: rules

package info (click to toggle)
pkgdiff 1.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 328 kB
  • ctags: 146
  • sloc: perl: 3,669; xml: 3,669; sh: 758; makefile: 19
file content (19 lines) | stat: -rwxr-xr-x 395 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build: debian/pkgdiff.1
	#nothing

debian/pkgdiff.1: debian/pkgdiff.1.in
	chmod +x pkgdiff.pl
	help2man \
			--include=$< \
			--no-info \
			--output=$@ ./pkgdiff.pl
	sed -i 's/pkgdiff\.pl/pkgdiff/g' $@

override_dh_auto_install:
	mkdir -p $(CURDIR)/debian/pkgdiff/usr
	perl Makefile.pl -install --prefix=/usr --destdir=$(CURDIR)/debian/pkgdiff/