mirror of https://github.com/fluffle/goirc
Make it so one command builds everything
This commit is contained in:
parent
a537d1a9f6
commit
d38619843f
10
Makefile
10
Makefile
|
@ -9,7 +9,15 @@ GOFILES=rbot.go handler.go auth.go cmd-access.go cmd-admin.go cmd-op.go cmd-goog
|
||||||
|
|
||||||
include $(GOROOT)/src/Make.cmd
|
include $(GOROOT)/src/Make.cmd
|
||||||
|
|
||||||
all: rbot.conf auth.conf
|
.PHONY: client goconfig
|
||||||
|
|
||||||
|
all: rbot.conf auth.conf client goconfig
|
||||||
|
|
||||||
|
client:
|
||||||
|
$(MAKE) -C client install
|
||||||
|
|
||||||
|
goconfig:
|
||||||
|
$(MAKE) -C goconfig install
|
||||||
|
|
||||||
rbot.conf: rbot.conf.example
|
rbot.conf: rbot.conf.example
|
||||||
@if [ -f $@ ] ; then \
|
@if [ -f $@ ] ; then \
|
||||||
|
|
|
@ -9,8 +9,6 @@ Assuming you have go set up (http://golang.org/),
|
||||||
cd rbot
|
cd rbot
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
gomake -C client install
|
|
||||||
gomake -C goconfig install
|
|
||||||
gomake
|
gomake
|
||||||
|
|
||||||
rbot.conf and auth.conf will be copied. Configure those and then run the bot:
|
rbot.conf and auth.conf will be copied. Configure those and then run the bot:
|
||||||
|
|
Loading…
Reference in New Issue