File: rules

package info (click to toggle)
go-mmproxy 2.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 248 kB
  • sloc: makefile: 12; sh: 7
file content (17 lines) | stat: -rwxr-xr-x 428 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@ --buildsystem=golang --with=golang

override_dh_auto_install:
	dh_auto_install -- --no-source

go-mmproxy.1:
	PATH=debian/go-mmproxy/usr/bin/:$$PATH \
	help2man --no-info --no-discard-stderr \
            --name="application to terminate HAProxy's PROXY protocol" \
            --version-string $(DEB_VERSION_UPSTREAM) \
            go-mmproxy > $@ \
        ;