sacc

sacc(omys), simple console gopher client (mirror)
git clone https://git.parazyd.org/sacc
Log | Files | Refs | LICENSE

commit 4e0bffd65a520f7c373aa0295f74d6d7acc3dcb7
parent 5c10dfa5f6509dc68ce73cea0a0cc9bba2563cdf
Author: Quentin Rameau <quinq@fifth.space>
Date:   Sat, 24 Feb 2018 14:38:17 +0100

Install manpage

Diffstat:
MMakefile | 3+++
Mconfig.mk | 1+
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -5,6 +5,7 @@ include config.mk BIN = sacc +MAN = $(BIN).1 OBJ = $(BIN:=.o) ui_$(UI).o all: $(BIN) @@ -24,6 +25,8 @@ install: $(BIN) mkdir -p $(DESTDIR)$(PREFIX)/bin/ cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin/ chmod 555 $(DESTDIR)$(PREFIX)/bin/$(BIN) + mkdir -p $(DESTDIR)$(MANDIR) + cp -f $(MAN) $(DESTDIR)$(MANDIR) uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN) diff --git a/config.mk b/config.mk @@ -1,5 +1,6 @@ # Install paths PREFIX = /usr/local +MANDIR = $(PREFIX)/share/man/man1 # UI type # txt (textual)