aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2020-05-08 18:44:50 +0200
committerTeddy Wing2020-05-08 18:44:50 +0200
commit3e9112713823c7fd59d54b33f1db2f898e897c31 (patch)
treedff84b9c86d5f35cabf4247bad87a061703ef803
parent8a75b2b5c2963c464596abfd45bd64183980f4e3 (diff)
downloadnetflix-immersive-3e9112713823c7fd59d54b33f1db2f898e897c31.tar.bz2
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).
-rw-r--r--Makefile4
1 files 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