updated go/Makefile.am
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
463f112ae5
commit
dc01f41773
@ -28,6 +28,7 @@ hclgo.bin:
|
||||
[ -f $(srcdir)/go.sum ] && cp -pf $(srcdir)/go.sum $(builddir)/go.sum >/dev/null 2>&1 || true
|
||||
go build -C $(srcdir) -x -o $(abs_builddir)/hclgo.bin -modfile $(abs_builddir)/go.mod
|
||||
go clean -C $(srcdir) -x -modfile $(abs_builddir)/go.mod
|
||||
rm -rf $(builddir)/go.mod $(builddir)/go.sum
|
||||
|
||||
## the go to o recipe is fake to deceive make
|
||||
.go.o:
|
||||
@ -38,4 +39,4 @@ hclgo.bin:
|
||||
|
||||
|
||||
clean-local:
|
||||
rm -rf $(abs_builddir)/go.mod $(abs_builddir)/go.sum
|
||||
rm -rf $(builddir)/go.mod $(builddir)/go.sum
|
||||
|
@ -626,6 +626,7 @@ hclgo.bin:
|
||||
[ -f $(srcdir)/go.sum ] && cp -pf $(srcdir)/go.sum $(builddir)/go.sum >/dev/null 2>&1 || true
|
||||
go build -C $(srcdir) -x -o $(abs_builddir)/hclgo.bin -modfile $(abs_builddir)/go.mod
|
||||
go clean -C $(srcdir) -x -modfile $(abs_builddir)/go.mod
|
||||
rm -rf $(builddir)/go.mod $(builddir)/go.sum
|
||||
|
||||
.go.o:
|
||||
echo $< > $@
|
||||
@ -634,7 +635,7 @@ hclgo.bin:
|
||||
echo $< > $@
|
||||
|
||||
clean-local:
|
||||
rm -rf $(abs_builddir)/go.mod $(abs_builddir)/go.sum
|
||||
rm -rf $(builddir)/go.mod $(builddir)/go.sum
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
|
Loading…
Reference in New Issue
Block a user