aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-08-07 12:19:18 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-08-07 22:10:44 +0200
commit0f787f9b030408fd2500bb036ff5816df27012b0 (patch)
treeaafb8f85b2e1c4141ba98ecda180fc7b22ad621e
parent14dcea23b27a6cc43c01311535cc657c44e1179d (diff)
Makefile: only regenerate existing scripts from templates
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2539788..547fe10 100644
--- a/Makefile
+++ b/Makefile
@@ -2,10 +2,9 @@
# template scripts -> final scripts
# markdown files -> html files
-TEMPLATE = $(wildcard *.template.rsc)
-CAPSMAN = $(TEMPLATE:.template.rsc=.capsman.rsc)
-LOCAL = $(TEMPLATE:.template.rsc=.local.rsc)
-WIFIWAVE2 = $(TEMPLATE:.template.rsc=.wifiwave2.rsc)
+CAPSMAN = $(wildcard *.capsman.rsc)
+LOCAL = $(wildcard *.local.rsc)
+WIFIWAVE2 = $(wildcard *.wifiwave2.rsc)
MARKDOWN = $(wildcard *.md doc/*.md doc/mod/*.md)
HTML = $(MARKDOWN:.md=.html)