blob: 4a9c7a54e900664610694a7f39a4b660fa919a96 (
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/local
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 -m 644 bollux.1 $(DESTDIR)$(PREFIX)/share/man/man1/
install -m 644 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
|