aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 02d12796389c3e83bb96c2ef8318b56838ef374b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
UNAME = $(shell uname)

# Default is building
all:
    go install

install:
# Linux build
ifeq ($(UNAME),Linux)
    mkdir -p /usr/local/ethereal
    files=(net.png network.png new.png tx.png)
    for file in "${files[@]}"; do
        cp $file /usr/share/ethereal
    done
    cp -r qml /usr/share/ethereal/qml
    cp $GOPATH/bin/go-ethereum /usr/local/bin/ethereal
endif
# OS X build
ifeq ($(UNAME),Darwin)
    # Execute py script
endif