~kris/9p

disco

ref: bd7e7caaffa7d729df14a21faeac1df8e32da36f disco/mkfile -rw-r--r-- 450 bytes
bd7e7caa — Sean Hinchee more reword 9 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
GOOS=plan9
GOARCH=$objtype

all: 
	go build

install: all
	cp ./disco $home/bin/$GOARCH/disco

deps: crypto
	mkdir -p $GOPATH/src/bitbucket.org/henesy/disco
	dircp ./ $GOPATH/src/bitbucket.org/henesy/disco

crypto:
	orig=`{pwd}
	mkdir -p $GOPATH/src/golang.org/x/crypto
	cd $GOPATH/src/golang.org/x
	hget https://github.com/golang/crypto/archive/master.zip > crypto.zip; unzip -f crypto.zip
	dircp crypto-master crypto; rm -r crypto-master
	cd $orig