From 53112064de5f5e6b1726f9822acf6b37bef805be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 24 Apr 2022 01:58:07 +0200 Subject: Minor dependency fixup in static/Makefile. --- static/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'static') diff --git a/static/Makefile b/static/Makefile index 1979575d..9292ed8a 100644 --- a/static/Makefile +++ b/static/Makefile @@ -3,8 +3,7 @@ TARGETS := style.css smallcal.css script.out.js directory-listing.css WATCH= -# script explicitly named, since that is our entry point -TS_FILES = script.ts $(shell find . -type f -name \*.ts -not -path */node_modules/*) +TS_FILES = $(shell find . -type f -name \*.ts -not -path */node_modules/*) JS_FILES = $(TS_FILES:%.ts=%.js) export PATH := $(shell npm bin):$(PATH) @@ -15,7 +14,8 @@ all: $(TARGETS) tail -n1 $< | tail -c+65 | base64 --decode | jq '.' > $@ # r!browserify --list script.ts -p tsify | xargs -L1 basename | tac -script.out.js: $(TS_FILES) +# script explicitly named, since that is our entry point +script.out.js: script.ts $(TS_FILES) browserify $< -p tsify --noImplicitAny --debug -o $@ deps.svg: $(TS_FILES) -- cgit v1.2.3