Installation script
This commit is contained in:
parent
a217a09aec
commit
893d20cee1
4
Makefile
4
Makefile
@ -40,8 +40,10 @@ clean:
|
||||
release: bin/musique
|
||||
scripts/release
|
||||
|
||||
install: bin/musique
|
||||
scripts/install
|
||||
|
||||
|
||||
.PHONY: clean doc doc-open all test unit-tests release
|
||||
.PHONY: clean doc doc-open all test unit-tests release install
|
||||
|
||||
$(shell mkdir -p bin/debug/tests)
|
||||
|
8
scripts/install
Executable file
8
scripts/install
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -xe
|
||||
|
||||
mkdir -p /usr/local/bin
|
||||
cp -f bin/musique /usr/local/bin
|
||||
chmod 755 /usr/local/bin/musique
|
||||
echo "Musique installed."
|
Loading…
Reference in New Issue
Block a user