Introduction
Introduction Statistics Contact Development Disclaimer Help
Install manpage - sacc - sacc - sacc(omys), simple console gopher client (confi…
git clone git://git.codemadness.org/sacc
Log
Files
Refs
LICENSE
---
commit 4e0bffd65a520f7c373aa0295f74d6d7acc3dcb7
parent 5c10dfa5f6509dc68ce73cea0a0cc9bba2563cdf
Author: Quentin Rameau <[email protected]>
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(-)
---
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)
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.