diff options
-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 |