summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin@c9x.me>2022-06-16 09:49:09 +0200
committerQuentin Carbonneaux <quentin@c9x.me>2022-06-16 09:49:09 +0200
commitcd778b44ba11925d65ee10ff29fe22d4a45809dd (patch)
treee0a3006e6b7c492de2aa6e622078ba0a485b42aa
parent2b451a28d8e98d5919e94dd611a8d9c66a9396af (diff)
downloadroux-cd778b44ba11925d65ee10ff29fe22d4a45809dd.tar.gz
install with install -m755 v1.0
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 090f5cb..8813bd6 100644
--- a/Makefile
+++ b/Makefile
@@ -53,11 +53,11 @@ config.h:
 	esac > $@
 
 install: qbe
-	mkdir -p "$(DESTDIR)/$(BINDIR)"
-	cp qbe "$(DESTDIR)/$(BINDIR)/qbe"
+	mkdir -p "$(DESTDIR)$(BINDIR)"
+	install -m755 qbe "$(DESTDIR)$(BINDIR)/qbe"
 
 uninstall:
-	rm -f "$(DESTDIR)/$(BINDIR)/qbe"
+	rm -f "$(DESTDIR)$(BINDIR)/qbe"
 
 clean:
 	rm -f *.o */*.o qbe