mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 10:50:44 +00:00
Merge 8a95b8a35c into fbd53f0e34
This commit is contained in:
commit
12443982f1
2 changed files with 10 additions and 6 deletions
14
Makefile
14
Makefile
|
|
@ -1,18 +1,20 @@
|
||||||
UNAME = $(shell uname)
|
UNAME = $(shell uname)
|
||||||
|
FILES=qml *.png
|
||||||
|
|
||||||
# Default is building
|
# Default is building
|
||||||
all:
|
all:
|
||||||
go install
|
cp *.go $(GOPATH)/src/github.com/ethereum/go-ethereum
|
||||||
|
cp -r ui $(GOPATH)/src/github.com/ethereum/go-ethereum
|
||||||
|
go install github.com/ethereum/go-ethereum
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# Linux build
|
# Linux build
|
||||||
ifeq ($(UNAME),Linux)
|
ifeq ($(UNAME),Linux)
|
||||||
mkdir /usr/local/ethereal
|
mkdir /usr/share/ethereal
|
||||||
files=(wallet.qml net.png network.png new.png tx.png)
|
for file in $(FILES); do \
|
||||||
for file in "${files[@]}"; do
|
cp -r $$file /usr/share/ethereal; \
|
||||||
cp $file /usr/share/ethereal
|
|
||||||
done
|
done
|
||||||
cp $GOPATH/bin/go-ethereum /usr/local/bin/ethereal
|
cp $(GOPATH)/bin/go-ethereum /usr/local/bin/ethereal
|
||||||
endif
|
endif
|
||||||
# OS X build
|
# OS X build
|
||||||
ifeq ($(UNAME),Darwin)
|
ifeq ($(UNAME),Darwin)
|
||||||
|
|
|
||||||
2
configure
vendored
Executable file
2
configure
vendored
Executable file
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
|
sed -i '1i\GOPATH='$GOPATH Makefile
|
||||||
Loading…
Reference in a new issue