File: rules

package info (click to toggle)
abi-tracker 1.11-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 316 kB
  • sloc: perl: 4,430; makefile: 19
file content (19 lines) | stat: -rwxr-xr-x 421 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
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build: debian/abi-tracker.1
	#nothing

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

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