aboutsummaryrefslogtreecommitdiff
path: root/html/Makefile
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2021-04-02 22:26:31 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2021-04-02 22:27:54 +0200
commit23408c6b463ee2a73060f08e29b221467d310066 (patch)
treef1f01410c8b73c01a57a219a2b6c1670f0fde56a /html/Makefile
parent0f8c8d3354e28c53f47cedfe3595f20f0b9300bd (diff)
downloadmuhqs-game-23408c6b463ee2a73060f08e29b221467d310066.tar.gz
muhqs-game-23408c6b463ee2a73060f08e29b221467d310066.zip
add simple web tools
Diffstat (limited to 'html/Makefile')
-rw-r--r--html/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/html/Makefile b/html/Makefile
index f86a82cf..d66c9f0c 100644
--- a/html/Makefile
+++ b/html/Makefile
@@ -37,7 +37,7 @@ EN_CARDS_LISTING := en/$(CARDS_LISTING)
LANG_CARDS_LISTINGS := $(foreach card_listing, $(DE_CARDS_LISTING) $(EN_CARDS_LISTING), \
$(addprefix $(BUILDDIR)/, $(card_listing:.md=.html)))
-SITES := index.md rules.md cards.md maps.md
+SITES := index.md rules.md cards.md maps.md tools.html
HTML := $(addprefix $(BUILDDIR)/,$(SITES:.md=.html))
VPATH := $(RULES_ROOT)
@@ -64,6 +64,11 @@ cards-de:
.PHONY: cards-en
cards-en:
+$(BUILDDIR)/tools.html: tools.html
+ @echo "copying $@"
+ @if test \( ! \( -d $(@D) \) \) ;then mkdir -p $(@D);fi
+ $(VERBOSE) cp $< $@
+
cards: $(LANG_CARDS_LISTINGS)
@echo "create cards data symlink"
$(VERBOSE) ln -sfT $(DATA_ROOT)/cards $(BUILDDIR)/cards-data