about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorCase Duckworth2020-05-26 19:31:06 -0500
committerCase Duckworth2020-05-26 19:31:06 -0500
commit4a1bcfd6d9da2a8acce81ff74f871182cd933dde (patch)
treee203e5882de0afb8089c1e531779c9a90d4fa8f5 /Makefile
parentFix dumb mistake (diff)
downloadbollux-4a1bcfd6d9da2a8acce81ff74f871182cd933dde.tar.gz
bollux-4a1bcfd6d9da2a8acce81ff74f871182cd933dde.zip
Add Makefiles
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