diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-03-15 23:28:10 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-03-15 23:28:10 +0100 |
commit | 70ff056475fb8937183354b8dd51c36f3e1029d4 (patch) | |
tree | 41e7b248a0c235796b4b19d141b6d58cbb5ffff0 /maketargets | |
parent | b4ec06cc82c8700b90c59d36ba886f9806799e5b (diff) |
Added new target 'install-manpages'
Diffstat (limited to 'maketargets')
-rw-r--r-- | maketargets/install.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/maketargets/install.mk b/maketargets/install.mk index c7c2678..c0cc14a 100644 --- a/maketargets/install.mk +++ b/maketargets/install.mk @@ -1,10 +1,11 @@ -# SPDX-FileCopyrightText: 2023 Markus Uhlin <maxxe@rpblc.net> +# SPDX-FileCopyrightText: 2023-2024 Markus Uhlin <maxxe@rpblc.net> # SPDX-License-Identifier: ISC # Don't provide a default value for DESTDIR. It should be empty. DESTDIR ?= BINDIR = $(DESTDIR)$(PREFIX)/bin +MANDIR = $(DESTDIR)/usr/local/man/man1 install-init: install -d $(BINDIR) @@ -45,6 +46,12 @@ install-init: install -d $(DESTDIR)$(FICS_HOME)/games/journal install -d $(DESTDIR)$(FICS_HOME)/players +install-manpages: + install -d $(MANDIR) + install -m 0444 $(ROOT)manpages/fics.1 $(MANDIR) + install -m 0444 $(ROOT)manpages/fics_addplayer.1 $(MANDIR) + install -m 0444 $(ROOT)manpages/makerank.1 $(MANDIR) + install: install-init $(ROOT)scripts/i-data-admin.sh $(ROOT)data/admin \ $(DESTDIR)$(FICS_HOME)/data/admin |