From 217eb51280dc6e1caf3e393066a9fd084e125190 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 11 Jun 2024 13:38:46 -0400 Subject: Add manpage --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') 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"; \ -- cgit v1.2.3