aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorepoch <epoch@thebackupbox.net>2020-05-05 20:35:48 -0500
committerepoch <epoch@thebackupbox.net>2020-05-05 20:35:48 -0500
commit1f3c44dfbb996630e08987f7534f0c9579007be2 (patch)
tree8816c5e65d198d64f432744a68078eb0b02ac8e4 /Makefile
parent6e5297675cdd969b7fd9964d67e15f7d473923d7 (diff)
downloadhackvr-1f3c44dfbb996630e08987f7534f0c9579007be2.tar.gz
hackvr-1f3c44dfbb996630e08987f7534f0c9579007be2.zip
the cp -r I was using in the makefile was copying into the dir if it already existed
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 37ab95a..4aa96a3 100644
--- a/Makefile
+++ b/Makefile
@@ -12,9 +12,12 @@ clean:
install: hackvr
$(MAKE) -C src install
+ mkdir -p $(PREFIX)/bin
install -t $(PREFIX)/bin bin/*
+ mkdir -p $(PREFIX)/share/applications
install -t $(PREFIX)/share/applications share/applications/*
- cp -r share/hackvr $(PREFIX)/share/hackvr
+ mkdir -p $(PREFIX)/share/hackvr/
+ cp -r share/hackvr/* $(PREFIX)/share/hackvr/
uninstall:
## we'll assume PREFIX is set to the hackvr we want to uninstall