Add man to make install.

Signed-off-by: xSlendiX <slendi@socopon.com>
This commit is contained in:
xSlendiX 2022-12-24 20:12:18 +02:00
parent 1946864ab3
commit 3b8350a1a4
2 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,6 @@
CC=cc
CFLAGS=-O0 -ggdb -Wall -lpthread
DESTDIR=/usr/local
.PHONY: all clean install
@ -23,7 +24,11 @@ ifeq ($(OS),Windows_NT)
copy tbuild "C:\tbuild" ; \
copy RedSeaGen.exe "C:\tbuild" ;
else
install tbuild /usr/local/bin
install RedSeaGen /usr/local/bin
install tbuild $(DESTDIR)/bin
install RedSeaGen $(DESTDIR)/bin
install -d $(DESTDIR)/share/man/man1
install -m 644 man/*.1 $(DESTDIR)/share/man/man1
install -d $(DESTDIR)/man/man5
install -m 644 man/*.5 $(DESTDIR)/share/man/man5
endif

View File

@ -16,7 +16,7 @@ features various features such as dependency mangement with git and ISO.C
generation.
.SH "TBUILD COMMANDS"
.PP
\fBtbuild-init\R(1)
\fBtbuild-init\fR(1)
.RS 4
Initialize a new project.\&
.RE