From 77eacb91512e2dafd5723fea66ed82a7ec6a8c4d Mon Sep 17 00:00:00 2001 From: CausticKirbyZ Date: Wed, 19 Jul 2023 10:28:38 -0500 Subject: [PATCH] fixed the install logic to generate the man page using helpdb after reordering the makefile --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3155c29..9e6281e 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ spraycannon: $(shell find ./src -name '*.cr') | $(CRYSTAL_PROJECT_LIBS) if [ -f ./spraycannon ]; then rm ./spraycannon; fi crystal build -p src/spraycannon.cr echo -e "\033[0;32mDone!\033[0m" - + spdb: $(shell find ./src -name '*.cr') | $(CRYSTAL_PROJECT_LIBS) echo -e "\033[0;33mBuilding spdb...\033[0m" if [ -f ./spdb ]; then rm ./spdb; fi @@ -61,6 +61,8 @@ debug: install: all echo "Installing Tools" + help2man ./spraycannon > spraycannon.1 + gzip spraycannon.1 mv ./spraycannon /usr/bin/spraycannon mv ./spdb /usr/bin/spdb echo "Installing man files"