aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKrow Savcik <krow@savcik.xyz>2024-01-07 15:57:36 +0200
committerKrow Savcik <krow@savcik.xyz>2024-01-07 15:57:36 +0200
commiteaacd6003ac0dfefd41fc51394782ddc7b191801 (patch)
treedc6a085925700b32a2e78b823de95894a755f8e5 /Makefile
parent5138d33e0c0adb0c4d13977af047e375eee934d8 (diff)
add: wcli.1
Added a manpage entry for wcli(1)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dd9869f..3c87b3d 100644
--- a/Makefile
+++ b/Makefile
@@ -13,11 +13,16 @@ install: build
chmod 755 ${PREFIX}/bin/wcli
chmod 755 ${PREFIX}/bin/wcli-gen
chmod 755 ${PREFIX}/bin/wcli-query
+ mkdir -p $(MANPREFIX)/man1
+ sed "s/VERSION/${VERSION}/g" < wcli.1 > ${MANPREFIX}/man1/wcli.1
+ chmod 644 ${MANPREFIX}/man1/wcli.1
+
uninstall:
rm -f ${PREFIX}/bin/wcli\
${PREFIX}/bin/wcli-gen\
- ${PREFIX}/bin/wcli-query
+ ${PREFIX}/bin/wcli-query\
+ ${MANPREFIX}/man1/wcli.1
clean:
rm wcli wcli-gen