go (1315:e39345dacb8f) go (1316:5b767c6bfd0a)
1
2# Copyright (C) Max Romanov
3# Copyright (C) NGINX, Inc.
4
5
6shift
7
8NXT_GO=go

--- 93 unchanged lines hidden (view full) ---

102
103${NXT_GO}:
104
105${NXT_GO}-install: ${NXT_GO}-install-src ${NXT_GO}-install-env
106 GOPATH=\$(DESTDIR)\$(GOPATH) ${NXT_GO} build ${NXT_GO_PKG}
107
108${NXT_GO}-install-src:
109 install -d \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}
1
2# Copyright (C) Max Romanov
3# Copyright (C) NGINX, Inc.
4
5
6shift
7
8NXT_GO=go

--- 93 unchanged lines hidden (view full) ---

102
103${NXT_GO}:
104
105${NXT_GO}-install: ${NXT_GO}-install-src ${NXT_GO}-install-env
106 GOPATH=\$(DESTDIR)\$(GOPATH) ${NXT_GO} build ${NXT_GO_PKG}
107
108${NXT_GO}-install-src:
109 install -d \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}
110 install -p -m644 ./src/go/unit/* \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}/
110 install -p -m644 ./go/* \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}/
111
112${NXT_GO}-install-env: \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}/env.go \
113 ${NXT_VERSION_H} ${NXT_BUILD_DIR}/${NXT_LIB_UNIT_STATIC}
114
115\$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}/env.go:
116 install -d \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}
117 $echo "package unit" > \$@
118 $echo "/*" >> \$@

--- 13 unchanged lines hidden ---
111
112${NXT_GO}-install-env: \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}/env.go \
113 ${NXT_VERSION_H} ${NXT_BUILD_DIR}/${NXT_LIB_UNIT_STATIC}
114
115\$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}/env.go:
116 install -d \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}
117 $echo "package unit" > \$@
118 $echo "/*" >> \$@

--- 13 unchanged lines hidden ---