|
|
@ -4,6 +4,7 @@ export LC_ALL=C.UTF-8
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
export GOPATH=/usr/share/gocode
|
|
|
|
export GOPATH=/usr/share/gocode
|
|
|
|
export GO111MODULE=off
|
|
|
|
export GO111MODULE=off
|
|
|
|
|
|
|
|
export GOCACHE=$(CURDIR)/.gocache
|
|
|
|
|
|
|
|
|
|
|
|
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
|
|
|
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
|
|
|
PKGSELECT = "common/modules/pkgselect"
|
|
|
|
PKGSELECT = "common/modules/pkgselect"
|
|
|
@ -20,6 +21,10 @@ override_dh_auto_build:
|
|
|
|
(cd $(PKGSELECT)/build && $(MAKE))
|
|
|
|
(cd $(PKGSELECT)/build && $(MAKE))
|
|
|
|
(cd common/snap-seed-glue && go build -gcflags="all=-N -l" -ldflags="-compressdwarf=false" -o snap-seed-glue main.go)
|
|
|
|
(cd common/snap-seed-glue && go build -gcflags="all=-N -l" -ldflags="-compressdwarf=false" -o snap-seed-glue main.go)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
override_dh_auto_clean:
|
|
|
|
|
|
|
|
dh_auto_clean
|
|
|
|
|
|
|
|
rm -rf $(GOCACHE)
|
|
|
|
|
|
|
|
|
|
|
|
override_dh_auto_install:
|
|
|
|
override_dh_auto_install:
|
|
|
|
(cd $(PKGSELECT)/build && $(MAKE) DESTDIR=$(CURDIR)/debian/calamares-settings-ubuntu-common/ install)
|
|
|
|
(cd $(PKGSELECT)/build && $(MAKE) DESTDIR=$(CURDIR)/debian/calamares-settings-ubuntu-common/ install)
|
|
|
|
|
|
|
|
|
|
|
|