commit 69ee789f16787da6a3065d911a44fc7d4991e366
parent b2b6ca98bae9bac2b36cb4a13f66adaf876743aa
Author: Quentin Rameau <quinq@fifth.space>
Date: Mon, 11 Apr 2022 00:13:25 +0200
man: Add version
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
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)
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