File: rules

package info (click to toggle)
japi-compliance-checker 1.3.7-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 448 kB
  • ctags: 216
  • sloc: perl: 7,303; makefile: 17
file content (26 lines) | stat: -rwxr-xr-x 657 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
26
#!/usr/bin/make -f

%:
	dh $@

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

override_dh_install:
	dh_install usr/bin
	dh_installdocs doc

override_dh_clean:
	dh_clean japi-compliance-checker

debian/japi-compliance-checker.1:
	# remove '.pl' from the generated man page by help2man:
	ln japi-compliance-checker.pl japi-compliance-checker
	help2man --output=$@ --no-info --include=debian/japi-compliance-checker.1.in ./japi-compliance-checker

build: debian/japi-compliance-checker.1

get-orig-source:
	uscan --download --force-download --rename