File: rules

package info (click to toggle)
hub 2.7.0~ds1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,176 kB
  • sloc: sh: 1,072; ruby: 825; makefile: 74
file content (22 lines) | stat: -rwxr-xr-x 562 bytes parent folder | download | duplicates (2)
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 := fixtures/
export PATH := obj-$(DEB_HOST_GNU_TYPE)/bin/:$(PATH)

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

override_dh_auto_build:
	dh_auto_build -O--buildsystem=golang
	LC_ALL=C.UTF-8 make man-pages

override_dh_auto_clean:
	dh_auto_clean -O--buildsystem=golang

override_dh_auto_install:
	dh_auto_install -O--buildsystem=golang -- --no-source

override_dh_fixperms:
	dh_fixperms -O--buildsystem=golang
	# See https://github.com/github/hub/pull/1782
	chmod -x debian/hub/usr/share/*sh*/*completion*/*hub