File: rules

package info (click to toggle)
pat 0.19.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,296 kB
  • sloc: javascript: 3,891; sh: 124; makefile: 11
file content (22 lines) | stat: -rwxr-xr-x 684 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
#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := web/dist internal/cmsapi/gateway_status.json.gz internal/propagation/silso/KFprediCM.txt

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

override_dh_auto_build:
	dh_auto_build -- -tags libax25

override_dh_auto_test:
	dh_auto_test -- -tags libax25

override_dh_auto_install:
	dh_auto_install -- --no-source

# rename binary and man page #994822
execute_after_dh_auto_install:
	mv debian/pat/usr/bin/pat debian/pat/usr/bin/pat-winlink
# but rename the man page using a patch instead of here
##execute_after_dh_installman:
##	mv debian/pat/usr/share/man/man1/pat.1 debian/pat/usr/share/man/man1/pat-winlink.1