t* sacc + cursorline and uri preview URI git clone git://git.codevoid.de/sacc-sdk DIR Log DIR Files DIR Refs DIR LICENSE --- DIR commit 4e0bffd65a520f7c373aa0295f74d6d7acc3dcb7 DIR parent 5c10dfa5f6509dc68ce73cea0a0cc9bba2563cdf URI Author: Quentin Rameau <quinq@fifth.space> Date: Sat, 24 Feb 2018 14:38:17 +0100 Install manpage Diffstat: M Makefile | 3 +++ M config.mk | 1 + 2 files changed, 4 insertions(+), 0 deletions(-) --- DIR diff --git a/Makefile b/Makefile t@@ -5,6 +5,7 @@ include config.mk BIN = sacc +MAN = $(BIN).1 OBJ = $(BIN:=.o) ui_$(UI).o all: $(BIN) t@@ -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) DIR diff --git a/config.mk b/config.mk t@@ -1,5 +1,6 @@ # Install paths PREFIX = /usr/local +MANDIR = $(PREFIX)/share/man/man1 # UI type # txt (textual)