Cleaned up makefile

This commit is contained in:
Antoine Gersant 2017-07-08 18:58:22 -07:00
parent fc21e3a9b3
commit 7cd2bdfd6b

View file

@ -1,5 +1,4 @@
POLARIS_BIN_DIR := ~/.local/bin/polaris
POLARIS_CONFIG_DIR := ~/.config/polaris
POLARIS_DATA_DIR := ~/.local/share/polaris
all: build
@ -9,7 +8,6 @@ build:
install: build
install -d $(POLARIS_BIN_DIR)
install -d $(POLARIS_CONFIG_DIR)
install -d $(POLARIS_DATA_DIR)
install ./target/release/polaris $(POLARIS_BIN_DIR)
cp -r ./web $(POLARIS_DATA_DIR)
@ -20,5 +18,4 @@ clean:
uninstall:
rm -r $(POLARIS_BIN_DIR)
rm -r $(POLARIS_CONFIG_DIR)
rm -r $(POLARIS_DATA_DIR)