File: rules

package info (click to toggle)
api-sanity-checker 1.98.7-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 1,312 kB
  • sloc: perl: 14,464; makefile: 19
file content (23 lines) | stat: -rwxr-xr-x 639 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
20
21
22
23
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	# nothing

override_dh_auto_install:
	mkdir -p $(CURDIR)$(DESTDIR)/debian/api-sanity-checker/usr
	perl Makefile.pl --destdir=$(CURDIR)$(DESTDIR)/debian/api-sanity-checker -install

debian/api-sanity-checker.1: debian/api-sanity-checker.1.in
	help2man --help-option=--info --include=$< --output=$@ --no-info ./debian/api-sanity-checker/usr/bin/api-sanity-checker

override_dh_clean:
	dh_clean debian/api-sanity-checker.1

override_dh_installchangelogs: debian/api-sanity-checker.1
	dh_installchangelogs doc/Changelog.html

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