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

23 lines
706 B
Makefile
Raw Permalink Normal View History

2014-12-14 01:05:15 +01:00
all: mumbledj
2015-01-01 00:09:26 +01:00
mumbledj: main.go commands.go parseconfig.go strings.go song.go playlist.go songqueue.go
2014-12-14 01:24:10 +01:00
go build .
2014-12-14 01:05:15 +01:00
clean:
2014-12-14 01:24:10 +01:00
rm -f mumbledj
2014-12-14 01:05:15 +01:00
install:
2014-12-14 01:24:10 +01:00
mkdir -p ~/.mumbledj/config
mkdir -p ~/.mumbledj/songs
if [ -a ~/.mumbledj/config/mumbledj.gcfg ]; then mv ~/.mumbledj/config/mumbledj.gcfg ~/.mumbledj/config/mumbledj_backup.gcfg; fi;
cp -u mumbledj.gcfg ~/.mumbledj/config/mumbledj.gcfg
sudo cp -f mumbledj /usr/local/bin/mumbledj
2014-12-14 01:05:15 +01:00
install_deps:
2014-12-14 01:24:10 +01:00
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 code.google.com/p/gcfg
2014-12-19 01:29:02 +01:00
go get -u github.com/kennygrant/sanitize
go get -u github.com/jmoiron/jsonq