mirror of
https://github.com/fluffle/goirc
synced 2025-05-13 02:53:19 +00:00
Add configuration parsing
This commit is contained in:
parent
091c6f9558
commit
9a9c640b91
4 changed files with 59 additions and 7 deletions
9
Makefile
9
Makefile
|
@ -10,3 +10,12 @@ GOFILES=\
|
|||
|
||||
include $(GOROOT)/src/Make.cmd
|
||||
|
||||
all: rbot.conf
|
||||
|
||||
rbot.conf: rbot.conf.example
|
||||
@if [ -f $@ ] ; then \
|
||||
echo "rbot.conf exists, but rbot.conf.example is newer." ; \
|
||||
else \
|
||||
echo cp $< $@ ; \
|
||||
cp $< $@ ; \
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue