aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-06-11 13:38:46 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-06-11 13:38:46 -0400
commit217eb51280dc6e1caf3e393066a9fd084e125190 (patch)
tree3472663d19a514329753a46d984859383eae6652 /Makefile
parente9ba4411c90e1d2bab79807d54e01573225ee702 (diff)
Add manpage
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cdc92a7e..d892d07b 100644
--- a/Makefile
+++ b/Makefile
@@ -58,12 +58,13 @@ clean:
%.1: %.1.md
pandoc --lua-filter=.pandoc/bold-code.lua -s $< -t man -o $@
-install: tomo libtomo.so
+install: tomo libtomo.so tomo.1
mkdir -p -m 755 "$(PREFIX)/man/man1" "$(PREFIX)/bin" "$(PREFIX)/include/tomo" "$(PREFIX)/lib" "$(PREFIX)/share/tomo/modules"
cp -v builtins/*.h "$(PREFIX)/include/tomo/"
cp -v libtomo.so "$(PREFIX)/lib/"
rm -f "$(PREFIX)/bin/tomo"
cp -v tomo "$(PREFIX)/bin/"
+ cp -v tomo.1 "$(PREFIX)/man/man1/"
uninstall:
rm -rvf "$(PREFIX)/bin/tomo" "$(PREFIX)/include/tomo" "$(PREFIX)/lib/libtomo.so" "$(PREFIX)/share/tomo"; \