Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove vestigial `make` code

  • Loading branch information...
commit 9c84cd20748ae69d3452f7e63c4739559fafc597 1 parent 032fc82
@bmizerany bmizerany authored
View
3  Make.inc
@@ -1,3 +0,0 @@
-# figure out what GOROOT is supposed to be
-GOROOT ?= $(shell printf 't:;@echo $$(GOROOT)\n' | gomake -f -)
-include $(GOROOT)/src/Make.inc
View
17 consensus/Makefile
@@ -1,18 +1,3 @@
-include ../../Make.inc
-
-TARG=github.com/ha/doozerd/consensus
-GOFILES=\
- consensus.go\
- run.go\
- coordinator.go\
- acceptor.go\
- learner.go\
- m.go\
- m.pb.go\
- manager.go\
-
-include $(GOROOT)/src/Make.pkg
-
m.pb.go: m.proto
mkdir -p _pb
protoc --go_out=_pb $<
@@ -21,5 +6,3 @@ m.pb.go: m.proto
|sed s/Newmsg/newMsg/g\
|gofmt >$@
rm -rf _pb
-
-CLEANFILES+=_pb
View
8 gc/Makefile
@@ -1,8 +0,0 @@
-include ../../Make.inc
-
-TARG=github.com/ha/doozerd/gc
-GOFILES=\
- clean.go\
- pulse.go\
-
-include $(GOROOT)/src/Make.pkg
View
7 member/Makefile
@@ -1,7 +0,0 @@
-include ../../Make.inc
-
-TARG=github.com/ha/doozerd/member
-GOFILES=\
- member.go\
-
-include $(GOROOT)/src/Make.pkg
View
4 peer/Makefile
@@ -1,4 +0,0 @@
-VERS ?= $(shell ./version.sh)
-GVERS := $(shell sed 's/[^`]*`//' version.go 2>/dev/null | sed 's/`.*//')
-version.go:
- printf 'package peer;const Version = `%s`\n' '$(VERS)' > $@
View
7 quiet/Makefile
@@ -1,7 +0,0 @@
-include ../../Make.inc
-
-TARG=github.com/ha/doozerd/quiet
-GOFILES=\
- quiet.go\
-
-include $(GOROOT)/src/Make.pkg
View
13 server/Makefile
@@ -1,14 +1,3 @@
-include ../../Make.inc
-
-TARG=github.com/ha/doozerd/server
-GOFILES=\
- conn.go\
- msg.pb.go\
- server.go\
- txn.go\
-
-include $(GOROOT)/src/Make.pkg
-
msg.pb.go: msg.proto
mkdir -p _pb
protoc --go_out=_pb $<
@@ -19,5 +8,3 @@ msg.pb.go: msg.proto
|sed s/Newresponse/newResponse/g\
|gofmt >$@
rm -rf _pb
-
-CLEANFILES+=_pb
View
11 store/Makefile
@@ -1,11 +0,0 @@
-include ../../Make.inc
-
-TARG=github.com/ha/doozerd/store
-GOFILES=\
- event.go\
- getter.go\
- glob.go\
- node.go\
- store.go\
-
-include $(GOROOT)/src/Make.pkg
View
7 test/Makefile
@@ -1,7 +0,0 @@
-include ../../Make.inc
-
-TARG=github.com/ha/doozerd/test
-GOFILES=\
- test.go\
-
-include $(GOROOT)/src/Make.pkg
View
25 web/Makefile
@@ -1,25 +0,0 @@
-TARG=web
-
-GOFILES=\
- main.css.go\
- main.html.go\
- stats.html.go\
- main.js.go\
- web.go\
-
-default: $(GOFILES)
-
-%.css.go: %.css file2gostring
- ./file2gostring $(TARG) $< < $< > $@.part
- mv $@.part $@
-
-%.html.go: %.html file2gostring
- ./file2gostring $(TARG) $< < $< > $@.part
- mv $@.part $@
-
-%.js.go: %.js file2gostring
- ./file2gostring $(TARG) $< < $< > $@.part
- mv $@.part $@
-
-clean:
- rm *.css.go *.html.go *.js.go
Please sign in to comment.
Something went wrong with that request. Please try again.