man: Add version - sacc - sacc(omys), simple console gopher client
HTML git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR LICENSE
---
DIR commit 69ee789f16787da6a3065d911a44fc7d4991e366
DIR parent b2b6ca98bae9bac2b36cb4a13f66adaf876743aa
HTML Author: Quentin Rameau <quinq@fifth.space>
Date: Mon, 11 Apr 2022 00:13:25 +0200
man: Add version
Diffstat:
M Makefile | 2 +-
M sacc.1 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/Makefile b/Makefile
@@ -26,7 +26,7 @@ install: $(BIN)
cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin/
chmod 555 $(DESTDIR)$(PREFIX)/bin/$(BIN)
mkdir -p $(DESTDIR)$(MANDIR)
- cp -f $(MAN) $(DESTDIR)$(MANDIR)
+ sed -e "s/%VERSION%/$(GETVER)/" $(MAN) > $(DESTDIR)$(MANDIR)/$(MAN)
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN) $(DESTDIR)$(MANDIR)/$(MAN)
DIR diff --git a/sacc.1 b/sacc.1
@@ -1,4 +1,4 @@
-.TH SACC 1 2022-04-11
+.TH SACC 1 2022-04-11 %VERSION%
.SH NAME
sacc \- a terminal gopher client
.SH SYNOPSIS