File: rules

package info (click to toggle)
umoci 0.4.7%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,440 kB
  • sloc: sh: 436; makefile: 180; awk: 17
file content (14 lines) | stat: -rwxr-xr-x 284 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

GOLDFLAGS += -X github.com/opencontainers/umoci.version=$(DEB_VERSION)

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

execute_after_dh_auto_build:
	$(MAKE) docs

override_dh_auto_build:
	dh_auto_build -- -ldflags "$(GOLDFLAGS)"