Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1265 from nanliu/GH-1264
Browse files Browse the repository at this point in the history
Fix #1264 make install works with new build path
  • Loading branch information
nanliu authored Oct 7, 2016
2 parents c571a4c + ca8d0fc commit 63d33ca
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
#See the License for the specific language governing permissions and
#limitations under the License.

OS = $(shell uname -s | tr '[:upper:]' '[:lower:]')
ARCH = $(shell uname -m)

default:
$(MAKE) deps
$(MAKE) all
Expand All @@ -35,7 +38,7 @@ check:
all:
bash -c "./scripts/build_snap.sh"
install:
cp build/bin/snapd /usr/local/bin/
cp build/bin/snapctl /usr/local/bin/
cp build/$(OS)/$(ARCH)/snapd /usr/local/bin/
cp build/$(OS)/$(ARCH)/snapctl /usr/local/bin/
proto:
cd `echo $(GOPATH) | cut -d: -f 1`; bash -c "./src/github.com/intelsdi-x/snap/scripts/gen-proto.sh"

0 comments on commit 63d33ca

Please sign in to comment.