From 3e9112713823c7fd59d54b33f1db2f898e897c31 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Fri, 8 May 2020 18:44:50 +0200 Subject: Makefile: Move the compiled user script to the project root Makes it easier to find for distribution and removes a circular Make dependency (which gets ignored). --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8e85940..e8d3a15 100644 --- a/Makefile +++ b/Makefile @@ -2,12 +2,12 @@ BROWSERIFY := ./node_modules/.bin/browserify TSC := ./node_modules/.bin/tsc -all: build/netflix-no-skip.user.js +all: netflix-no-skip.user.js build/%.js: src/%.ts $(TSC) -build/netflix-no-skip.user.js: build/index.js build/*.js src/userscript-header.txt +netflix-no-skip.user.js: build/index.js build/*.js src/userscript-header.txt $(BROWSERIFY) $^ -o $@ cat src/userscript-header.txt $@ > $@.tmp -- cgit v1.2.3