21 lines
591 B
Makefile
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
|