This repository has been archived on 2019-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
mumbledj/Makefile

21 lines
602 B
Makefile
Raw Normal View History

2014-12-14 01:05:15 +01:00
all: mumbledj
mumbledj: main.go commands.go parseconfig.go strings.go
go build .
clean:
rm -f mumbledj
install:
sudo cp -f mumbledj /usr/local/bin/mumbledj
mkdir -p ~/.mumbledj/config
mkdir -p ~/.mumbledj/songs
2014-12-14 01:23:15 +01:00
if [ -a ~/.mumbledj/config/config.toml ]; then mv ~/.mumbledj/config/config.toml ~/.mumbledj/config/config_backup.toml; fi;
2014-12-14 01:05:15 +01:00
cp -u config.toml ~/.mumbledj/config/config.toml
install_deps:
go get -u github.com/layeh/gumble/gumble
go get -u github.com/layeh/gumble/gumbleutil
go get -u github.com/layeh/gumble/gumble_ffmpeg
go get -u github.com/BurntSushi/toml