You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
511 B
14 lines
511 B
#!/usr/bin/make -f
|
|
export DH_VERBOSE = 1
|
|
export GO111MODULE = off
|
|
export GOPATH=/usr/share/gocode
|
|
export GOCACHE=$(CURDIR)/.gocache
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_build:
|
|
(cd snapd-seed-glue && go build -gcflags="all=-N -l" -ldflags="-compressdwarf=false" -o snapd-seed-glue)
|
|
(cd snapd-seed-glue/tests && cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo . && make -j2 && mv snapd_seed_glue_test ../../debian/tests/snapd-seed-glue)
|
|
(cd snapd-installation-monitor && cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo . && make -j2)
|