File: rules

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

export DH_GOLANG_GO_GENERATE := 1
export DH_GOLANG_INSTALL_EXTRA := assets/themes

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

override_dh_auto_install:
	dh_auto_install -- --no-source

override_dh_auto_build:
	dh_auto_build -- -ldflags \
		"-X github.com/gcla/termshark.Version=$(DEB_VERSION_UPSTREAM)"

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