Add man to make install.
Signed-off-by: xSlendiX <slendi@socopon.com>
This commit is contained in:
parent
1946864ab3
commit
3b8350a1a4
9
Makefile
9
Makefile
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user