2 -X "main.versionGit=$(shell git describe --long --tags --dirty --always)" \
3 -X "main.versionGo=$(shell go version)" \
5 # Build with `make GOFLAGS=` if -race is not supported
13 cd cmd/safcm-remote && ./build.sh
14 go build $(GOFLAGS) -ldflags $(LDFLAGS) ruderich.org/simon/safcm/cmd/safcm
15 @# For proper permissions after initial clone with a strict umask
16 cd cmd/safcm/testdata/project && ../../../../safcm fixperms 2> /dev/null
20 go test $(GOFLAGS) $(TESTFLAGS) ./...
23 rm -rf remote/helpers/
26 .PHONY: all test clean safcm