From 23408c6b463ee2a73060f08e29b221467d310066 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 2 Apr 2021 22:26:31 +0200 Subject: add simple web tools --- html/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'html/Makefile') 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 -- cgit v1.2.3