summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/go
diff options
context:
space:
mode:
Diffstat (limited to 'auto/modules/go')
-rw-r--r--auto/modules/go4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/modules/go b/auto/modules/go
index 27670dca..dcbc63a5 100644
--- a/auto/modules/go
+++ b/auto/modules/go
@@ -95,6 +95,8 @@ cat << END >> $NXT_MAKEFILE
.PHONY: ${NXT_GO}
+all: ${NXT_GO}
+
NXT_ROOT = `pwd`
GOPATH = $NXT_GO_PATH
@@ -115,5 +117,3 @@ ${NXT_GO}-uninstall:
rm -f \$(GOPATH)/pkg/\$(GOOS)_\$(GOARCH)/nginext.a
END
-
-sed -i.bak -e "s/\(all:.*\)/\1 ${NXT_GO}/" $NXT_MAKEFILE