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
2014-12-13 16:24:10 -08:00

21 lines
591 B
Makefile

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
if [ -a ~/.mumbledj/config/config.toml ]; then mv ~/.mumbledj/config/config.toml ~/.mumbledj/config/config_backup.toml; fi;
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