#!/usr/bin/make -f

export CGO_ENABLED := 1
export GIT_COMMIT := 8756bef55608385dc1981423593eece8355b4372
export GOEXPERIMENT := systemcrypto
export GOPROXY := direct
export IMAGE_VERSION := 0.5.0
export PKG := sigs.k8s.io/azurelustre-csi-driver
export PROJECT_DIR := azurelustre-csi
export GOMODCACHE := $(PWD)/xxxdalecGomodsInternal


override_dh_auto_clean:
	@# Stop debhelper from doing "make clean"

override_dh_auto_install:
	@# Stop debhelper from doing "make install"
	@# Dalec will generate the right install commands

override_dh_auto_build:
	./debian/dalec/build.sh

.PHONY: fix_generators

fix_generators:
	./debian/dalec/fix_generators.sh

override_dh_auto_configure: fix_generators
	@# Stop debhelper from running auto configure, which should be part of the build steps

# dh_dwz is problematic for (some) go builds and causes the build to error out.
override_dh_dwz:
	@# https://salsa.debian.org/go-team/packages/dh-golang/-/commit/831f3a9dccc14f63f21d3dfac0c0d0e0c25b4084









%:
	dh $@ -v
