Skip to content

Commit

Permalink
fixed the install logic to generate the man page using helpdb after r…
Browse files Browse the repository at this point in the history
…eordering the makefile
  • Loading branch information
CausticKirbyZ committed Jul 19, 2023
1 parent 44f3c7e commit 77eacb9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit 77eacb9

Please sign in to comment.