about summary refs log tree commit diff stats
path: root/Makefile
blob: 14a1f5fabc516d85ebf339ac7ca270b06596ab18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# bollux: a gemini client in bash
# Author: Case Duckworth <acdw@acdw.net>
# License: MIT

PREFIX ?= /usr

INSTALL = install -m 755

.PHONY: def install uninstall

def:
	@echo "run 'make install' to install"
	@echo "run 'make uninstall' to uninstall"

install:
	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
	rm -f $(DESTDIR)$(PREFIX)/share/man/man1/bollux.1
	rm -f $(DESTDIR)$(PREFIX)/share/man/man5/bollux.conf.5