diff options
author | Teddy Wing | 2020-05-08 18:44:50 +0200 |
---|---|---|
committer | Teddy Wing | 2020-05-08 18:44:50 +0200 |
commit | 3e9112713823c7fd59d54b33f1db2f898e897c31 (patch) | |
tree | dff84b9c86d5f35cabf4247bad87a061703ef803 | |
parent | 8a75b2b5c2963c464596abfd45bd64183980f4e3 (diff) | |
download | netflix-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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |