chiark / gitweb /
Makefile: Break out NWTEMPLATEASSETS variable
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 14 May 2022 13:59:50 +0000 (14:59 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 14 May 2022 15:01:53 +0000 (16:01 +0100)
We're going to want this for the dependencies of the shapelib,
since otterlib will need to read this template.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile

index 4e50fe783cc6e02181d6d7728a70c3c6f5010a76..ee8cd157c45d7d9494cff568c0d4290b21524b64 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -130,10 +130,11 @@ TS_SRC_FILES= \
 LITFILES= LICENCE AGPLv3
 TXTFILES= CC-BY-SA-3.0 CC-BY-SA-4.0
 
-FILEASSETS = $(addprefix templates/, libre shapelib.html script.js \
+NWTEMPLATEASSETS = nwtemplates/die-overlay.tera
+FILEASSETS =   $(addprefix templates/, libre shapelib.html script.js \
                        $(LITFILES) $(TXTFILES)) \
                $(wildcard templates/*.tera) \
-               nwtemplates/die-overlay.tera
+               $(NWTEMPLATEASSETS)
 
 WASM := wasm32-unknown-unknown
 # ^ todo: Is this still right after