about summary refs log tree commit diff stats
path: root/Makefile
blob: 1cefa27eb358817af0c3a697756c3d5548bced2f (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 -Dm 755 bollux $(DESTDIR)$(PREFIX)/bin/
	install -D bollux.1 $(DESTDIR)$(PREFIX)/share/man/man1/
	install -D 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