diff options
Diffstat (limited to 'maketargets')
-rw-r--r-- | maketargets/install.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/maketargets/install.mk b/maketargets/install.mk new file mode 100644 index 0000000..ac0c2f4 --- /dev/null +++ b/maketargets/install.mk @@ -0,0 +1,17 @@ +# SPDX-FileCopyrightText: 2023 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 + +install: + install -d $(BINDIR) + install -m 0755 fics $(BINDIR) + install -m 0755 fics_addplayer $(BINDIR) + install -m 0755 makerank $(BINDIR) + install -d $(DESTDIR)$(FICS_HOME)/data + install -d $(DESTDIR)$(FICS_HOME)/data/admin + $(ROOT)scripts/i-data-admin.sh $(ROOT)data/admin \ + $(DESTDIR)$(FICS_HOME)/data/admin |