From f1b6a153ea94b0311f196cccf251e4dba9fae77a Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 3 Apr 2024 05:16:32 +0000 Subject: project: added the install-man make target. --- project/extras.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/project/extras.mk b/project/extras.mk index 79b0dd2..5a9a8f7 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -90,4 +90,8 @@ install-mk: cp -p $(MK_FILES) $(DESTDIR)$(SYS_MK_DIR) cp -p $(MK_SYS_FILES) $(DESTDIR)$(SYS_MK_DIR)/sys -install: install-mk +install-man: + mkdir -p $(DESTDIR)$(DATADIR)/man/man1/ + cp -p $(SOURCE_DIR)/man/make.1 $(DESTDIR)$(DATADIR)/man/man1/$(NICKNAME).1 + +install: install-mk install-man -- cgit v1.2.3