From 1f3c44dfbb996630e08987f7534f0c9579007be2 Mon Sep 17 00:00:00 2001 From: epoch Date: Tue, 5 May 2020 20:35:48 -0500 Subject: the cp -r I was using in the makefile was copying into the dir if it already existed --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3