about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile index 3096726..0c98bff 100644 --- a/Makefile +++ b/Makefile
@@ -4,16 +4,18 @@
4 4
5PREFIX ?= /usr 5PREFIX ?= /usr
6 6
7PRGN := bollux
8
9.PHONY: def install uninstall 7.PHONY: def install uninstall
10 8
11def: 9def:
12 @echo "run 'make install' to install" 10 @echo "run 'make install' to install"
13 @echo "run 'make uninstall' to uninstall" 11 @echo "run 'make uninstall' to uninstall"
14 12
15install: $(PRGN) 13install:
16 install -D $< $(DESTDIR)$(PREFIX)/bin 14 install -Dt $(DESTDIR)$(PREFIX)/bin/ bollux
15 install -Dt $(DESTDIR)$(PREFIX)/share/man/man1/ bollux.1
16 install -Dt $(DESTDIR)$(PREFIX)/share/man/man5/ bollux.conf.5
17 17
18uninstall: 18uninstall:
19 rm -f $(DESTDIR)$(PREFIX)/bin/$(PRGN) 19 rm -f $(DESTDIR)$(PREFIX)/bin/bollux
20 rm -f $(DESTDIR)$(PREFIX)/share/man/man1/bollux.1
21 rm -f $(DESTDIR)$(PREFIX)/share/man/man5/bollux.conf.5