File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 11UNAME = $(shell uname)
2+ FILES =qml *.png
3+ GOPATH =$(PWD )
4+
25
36# Default is building
47all :
5- go install
8+ go get -d
9+ cp * .go $(GOPATH ) /src/github.com/ethereum/go-ethereum
10+ cp -r ui $(GOPATH ) /src/github.com/ethereum/go-ethereum
11+ go build
612
713install :
814# Linux build
915ifeq ($(UNAME ) ,Linux)
10- mkdir /usr/local/ethereal
11- files=(wallet.qml net.png network.png new.png tx.png)
12- for file in "${files[@]}"; do
13- cp $file /usr/share/ethereal
16+ mkdir -p /usr/share/ethereal
17+ for file in $(FILES); do \
18+ cp -r $$file /usr/share/ethereal; \
1419 done
15- cp $GOPATH/bin/ go-ethereum /usr/local/bin/ethereal
20+ cp go-ethereum /usr/local/bin/ethereal
1621endif
1722# OS X build
1823ifeq ($(UNAME ) ,Darwin)
You can’t perform that action at this time.
0 commit comments