aboutsummaryrefslogtreecommitdiffstats
path: root/maketargets
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-23 20:15:28 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-23 20:15:33 +0100
commit383236867bfda6ff15662e712e122c3ce6d973f4 (patch)
tree6e209edff489e5bae3b5062d9e759a9e455bf998 /maketargets
parentab72c482a5cca9bfc4bfe275b42a21741f815894 (diff)
Divided the 'install' target
Diffstat (limited to 'maketargets')
-rw-r--r--maketargets/install.mk40
1 files changed, 21 insertions, 19 deletions
diff --git a/maketargets/install.mk b/maketargets/install.mk
index d61a77c..ce9d136 100644
--- a/maketargets/install.mk
+++ b/maketargets/install.mk
@@ -6,19 +6,15 @@ DESTDIR ?=
BINDIR = $(DESTDIR)$(PREFIX)/bin
-install:
+install-init:
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
install -d $(DESTDIR)$(FICS_HOME)/data/boards
install -d $(DESTDIR)$(FICS_HOME)/data/boards/openings
- $(ROOT)scripts/i-data-boards-openings.sh $(ROOT)data/boards/openings \
- $(DESTDIR)$(FICS_HOME)/data/boards/openings
install -d $(DESTDIR)$(FICS_HOME)/data/boards/standard
install -m 0644 $(ROOT)data/boards/standard/standard \
$(DESTDIR)$(FICS_HOME)/data/boards/standard
@@ -26,37 +22,43 @@ install:
$(DESTDIR)$(FICS_HOME)/data/boards
install -d $(DESTDIR)$(FICS_HOME)/data/boards/wild
install -d $(DESTDIR)$(FICS_HOME)/data/book
- $(ROOT)scripts/i-data-book.sh $(ROOT)data/book \
- $(DESTDIR)$(FICS_HOME)/data/book
install -d $(DESTDIR)$(FICS_HOME)/data/com_help
install -m 0755 $(ROOT)data/com_help/makelinks.sh \
$(DESTDIR)$(FICS_HOME)/data/com_help
install -m 0644 $(ROOT)data/commands $(DESTDIR)$(FICS_HOME)/data
install -d $(DESTDIR)$(FICS_HOME)/data/help
- $(ROOT)scripts/i-data-help.sh $(ROOT)data/help \
- $(DESTDIR)$(FICS_HOME)/data/help
install -d $(DESTDIR)$(FICS_HOME)/data/index
- $(ROOT)scripts/i-data-index.sh $(ROOT)data/index \
- $(DESTDIR)$(FICS_HOME)/data/index
install -d $(DESTDIR)$(FICS_HOME)/data/info
install -d $(DESTDIR)$(FICS_HOME)/data/lists
- $(ROOT)scripts/i-data-lists.sh $(DESTDIR)$(FICS_HOME)/data/lists
install -d $(DESTDIR)$(FICS_HOME)/data/messages
- $(ROOT)scripts/i-data-messages.sh $(ROOT)data/messages \
- $(DESTDIR)$(FICS_HOME)/data/messages
install -d $(DESTDIR)$(FICS_HOME)/data/news
install -d $(DESTDIR)$(FICS_HOME)/data/Spanish
install -d $(DESTDIR)$(FICS_HOME)/data/stats
- $(ROOT)scripts/i-data-stats.sh $(DESTDIR)$(FICS_HOME)/data/stats
install -d $(DESTDIR)$(FICS_HOME)/data/usage
- $(ROOT)scripts/i-data-usage.sh $(ROOT)data/usage \
- $(DESTDIR)$(FICS_HOME)/data/usage
install -d $(DESTDIR)$(FICS_HOME)/data/uscf
- $(ROOT)scripts/i-data-uscf.sh $(ROOT)data/uscf \
- $(DESTDIR)$(FICS_HOME)/data/uscf
install -d $(DESTDIR)$(FICS_HOME)/games
install -d $(DESTDIR)$(FICS_HOME)/games/adjourned
install -d $(DESTDIR)$(FICS_HOME)/games/history
install -d $(DESTDIR)$(FICS_HOME)/games/journal
install -d $(DESTDIR)$(FICS_HOME)/players
+
+install: install-init
+ $(ROOT)scripts/i-data-admin.sh $(ROOT)data/admin \
+ $(DESTDIR)$(FICS_HOME)/data/admin
+ $(ROOT)scripts/i-data-boards-openings.sh $(ROOT)data/boards/openings \
+ $(DESTDIR)$(FICS_HOME)/data/boards/openings
+ $(ROOT)scripts/i-data-book.sh $(ROOT)data/book \
+ $(DESTDIR)$(FICS_HOME)/data/book
+ $(ROOT)scripts/i-data-help.sh $(ROOT)data/help \
+ $(DESTDIR)$(FICS_HOME)/data/help
+ $(ROOT)scripts/i-data-index.sh $(ROOT)data/index \
+ $(DESTDIR)$(FICS_HOME)/data/index
+ $(ROOT)scripts/i-data-lists.sh $(DESTDIR)$(FICS_HOME)/data/lists
+ $(ROOT)scripts/i-data-messages.sh $(ROOT)data/messages \
+ $(DESTDIR)$(FICS_HOME)/data/messages
+ $(ROOT)scripts/i-data-stats.sh $(DESTDIR)$(FICS_HOME)/data/stats
+ $(ROOT)scripts/i-data-usage.sh $(ROOT)data/usage \
+ $(DESTDIR)$(FICS_HOME)/data/usage
+ $(ROOT)scripts/i-data-uscf.sh $(ROOT)data/uscf \
+ $(DESTDIR)$(FICS_HOME)/data/uscf
$(ROOT)scripts/i-players.sh $(DESTDIR)$(FICS_HOME)/players