summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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