From c75e0d52f1723a5994a8841e97671b2241a3900d Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sun, 7 Jun 2020 19:51:35 -0500 Subject: Fix makefile --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0c98bff..14a1f5f 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,8 @@ PREFIX ?= /usr +INSTALL = install -m 755 + .PHONY: def install uninstall def: @@ -11,9 +13,9 @@ def: @echo "run 'make uninstall' to uninstall" install: - install -Dt $(DESTDIR)$(PREFIX)/bin/ bollux - install -Dt $(DESTDIR)$(PREFIX)/share/man/man1/ bollux.1 - install -Dt $(DESTDIR)$(PREFIX)/share/man/man5/ bollux.conf.5 + install -m 755 bollux $(DESTDIR)$(PREFIX)/bin/ + install bollux.1 $(DESTDIR)$(PREFIX)/share/man/man1/ + install bollux.conf.5 $(DESTDIR)$(PREFIX)/share/man/man5/ uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/bollux -- cgit 1.4.1-21-gabe81