blob: 68914069bb37fe8daec6d0cf5d6b73ee71e7e15b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# 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:
mkdir -p $(DESTDIR)$(PREFIX)/bin
mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
mkdir -p $(DESTDIR)$(PREFIX)/share/man/man5
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
|