aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorrtz12 <koenig@fagott.pw>2016-02-14 17:22:21 (UTC)
committerrtz12 <koenig@fagott.pw>2016-02-14 17:22:21 (UTC)
commit200f90f73e26c1e9bbd64889dfe5dbd1e70ae5fc (patch)
tree077a9ae4d5a857bc1e22ffe73a5c95314761efcc /Makefile
parent1e1d91541ef3caa848b8c9296e29dc12e744ed1c (diff)
Dependencies passen jetzt und NPM wird gegettet
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 269e68e..9fbe1b7 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ LESSC := ./node_modules/less/bin/lessc
10 10
11-include $(DEPFILES) 11-include $(DEPFILES)
12 12
13all: .npm_update $(CSS_FILES) $(LESS_FILES) $(JS_FILES) 13all: $(CSS_FILES) $(LESS_FILES) $(JS_FILES)
14 14
15print_info: 15print_info:
16 @echo $(CSS_FILES) 16 @echo $(CSS_FILES)
@@ -31,7 +31,7 @@ assets/css/%.css: assets_src/css/%.css
31 @mkdir -p $(@D) 31 @mkdir -p $(@D)
32 cp $< $@ 32 cp $< $@
33 33
34assets/css/%.css: assets_src/css/%.less 34assets/css/%.css: assets_src/css/%.less .npm_update
35 mkdir -p $(@D) 35 mkdir -p $(@D)
36 @echo lessc $< > $@ 36 @echo lessc $< > $@
37 @$(LESSC) $< > $@ 37 @$(LESSC) $< > $@
@@ -39,7 +39,7 @@ assets/css/%.css: assets_src/css/%.less
39assets_src/js/%.d: assets_src/js/%.js 39assets_src/js/%.d: assets_src/js/%.js
40 @./bin/generate-dependencies $(patsubst assets_src/%, assets/%, $<) $< $@ 40 @./bin/generate-dependencies $(patsubst assets_src/%, assets/%, $<) $< $@
41 41
42assets/js/%.js: assets_src/js/%.js assets_src/js/%.d .babelrc 42assets/js/%.js: assets_src/js/%.js assets_src/js/%.d .babelrc .npm_update
43 @echo browserify $< -o $@ 43 @echo browserify $< -o $@
44 @$(BROWSERIFY) --debug $< -o $@ -t babelify 44 @$(BROWSERIFY) --debug $< -o $@ -t babelify
45 45
@@ -50,7 +50,7 @@ clean:
50 -rm -- $(DEPFILES) 50 -rm -- $(DEPFILES)
51 51
52superclean: clean 52superclean: clean
53 -rm -- .npm_last_update 53 -rm -- .npm_update
54 -rm -- package.json 54 -rm -- package.json
55 55
56ultraclean: superclean 56ultraclean: superclean