File: rules

package info (click to toggle)
auto-apt-proxy 2%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 108 kB
  • sloc: sh: 58; makefile: 14
file content (21 lines) | stat: -rwxr-xr-x 456 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
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build: auto-apt-proxy.1
	dh_auto_build

override_dh_auto_clean:
	$(RM) auto-apt-proxy.1 auto-apt-proxy.pod
	dh_auto_clean

override_dh_auto_test:
	dh_auto_test
	shellcheck --shell dash auto-apt-proxy

auto-apt-proxy.1: auto-apt-proxy.pod
	pod2man --verbose --name auto-apt-proxy -c '' -r '' --utf8 $< $@ || ($(RM) $@; false)

auto-apt-proxy.pod: README.md
	sed -e 's/^#/=head1/' $< > $@ || ($(RM) $@; false)