Makefile: only regenerate existing scripts from templates

This commit is contained in:
Christian Hesse 2023-08-07 12:19:18 +02:00
parent 14dcea23b2
commit 0f787f9b03

View file

@ -2,10 +2,9 @@
# template scripts -> final scripts # template scripts -> final scripts
# markdown files -> html files # markdown files -> html files
TEMPLATE = $(wildcard *.template.rsc) CAPSMAN = $(wildcard *.capsman.rsc)
CAPSMAN = $(TEMPLATE:.template.rsc=.capsman.rsc) LOCAL = $(wildcard *.local.rsc)
LOCAL = $(TEMPLATE:.template.rsc=.local.rsc) WIFIWAVE2 = $(wildcard *.wifiwave2.rsc)
WIFIWAVE2 = $(TEMPLATE:.template.rsc=.wifiwave2.rsc)
MARKDOWN = $(wildcard *.md doc/*.md doc/mod/*.md) MARKDOWN = $(wildcard *.md doc/*.md doc/mod/*.md)
HTML = $(MARKDOWN:.md=.html) HTML = $(MARKDOWN:.md=.html)