diff options
author | Case Duckworth | 2020-06-07 19:51:35 -0500 |
---|---|---|
committer | Case Duckworth | 2020-06-07 19:51:35 -0500 |
commit | c75e0d52f1723a5994a8841e97671b2241a3900d (patch) | |
tree | 87921d718b9e27f8b4d97ea081a22797ad59325e | |
parent | Add comments (diff) | |
download | bollux-c75e0d52f1723a5994a8841e97671b2241a3900d.tar.gz bollux-c75e0d52f1723a5994a8841e97671b2241a3900d.zip |
Fix makefile
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile index 0c98bff..14a1f5f 100644 --- a/Makefile +++ b/Makefile | |||
@@ -4,6 +4,8 @@ | |||
4 | 4 | ||
5 | PREFIX ?= /usr | 5 | PREFIX ?= /usr |
6 | 6 | ||
7 | INSTALL = install -m 755 | ||
8 | |||
7 | .PHONY: def install uninstall | 9 | .PHONY: def install uninstall |
8 | 10 | ||
9 | def: | 11 | def: |
@@ -11,9 +13,9 @@ def: | |||
11 | @echo "run 'make uninstall' to uninstall" | 13 | @echo "run 'make uninstall' to uninstall" |
12 | 14 | ||
13 | install: | 15 | install: |
14 | install -Dt $(DESTDIR)$(PREFIX)/bin/ bollux | 16 | install -m 755 bollux $(DESTDIR)$(PREFIX)/bin/ |
15 | install -Dt $(DESTDIR)$(PREFIX)/share/man/man1/ bollux.1 | 17 | install bollux.1 $(DESTDIR)$(PREFIX)/share/man/man1/ |
16 | install -Dt $(DESTDIR)$(PREFIX)/share/man/man5/ bollux.conf.5 | 18 | install bollux.conf.5 $(DESTDIR)$(PREFIX)/share/man/man5/ |
17 | 19 | ||
18 | uninstall: | 20 | uninstall: |
19 | rm -f $(DESTDIR)$(PREFIX)/bin/bollux | 21 | rm -f $(DESTDIR)$(PREFIX)/bin/bollux |