summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-04-03 05:16:32 +0000
committermidipix <writeonce@midipix.org>2024-04-03 05:16:32 +0000
commitf1b6a153ea94b0311f196cccf251e4dba9fae77a (patch)
tree12c92248749faecea63cfbcdd673435fc9df7162 /project
parente7c427461d3b12ac3feff3e6eb1c7bb92194b63d (diff)
downloadsbmake-f1b6a153ea94b0311f196cccf251e4dba9fae77a.tar.bz2
sbmake-f1b6a153ea94b0311f196cccf251e4dba9fae77a.tar.xz
project: added the install-man make target.
Diffstat (limited to 'project')
-rw-r--r--project/extras.mk6
1 files changed, 5 insertions, 1 deletions
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