diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -12,7 +12,7 @@ LESSC := ./node_modules/less/bin/lessc | |||
12 | 12 | ||
13 | -include $(DEPFILES) | 13 | -include $(DEPFILES) |
14 | 14 | ||
15 | all: $(CSS_FILES) $(LESS_FILES) $(JS_FILES) | 15 | all: $(CSS_FILES) $(LESS_FILES) $(JS_FILES) eventlogging/events.go |
16 | 16 | ||
17 | print_info: | 17 | print_info: |
18 | @echo $(CSS_FILES) | 18 | @echo $(CSS_FILES) |
@@ -45,12 +45,16 @@ assets/js/%.js: assets_src/js/%.js assets_src/js/%.d .babelrc .npm_update | |||
45 | @echo browserify $< -o $@ | 45 | @echo browserify $< -o $@ |
46 | @$(BROWSERIFY) --debug $< -o $@ -t babelify | 46 | @$(BROWSERIFY) --debug $< -o $@ -t babelify |
47 | 47 | ||
48 | eventlogging/events.go: eventlogging/events.txt | ||
49 | @./bin/generate-events < $< > $@ | ||
50 | |||
48 | clean: | 51 | clean: |
49 | -rm -- $(CSS_FILES) | 52 | -rm -- $(CSS_FILES) |
50 | -rm -- $(LESS_FILES) | 53 | -rm -- $(LESS_FILES) |
51 | -rm -- $(JS_FILES) | 54 | -rm -- $(JS_FILES) |
52 | -rm -- $(DEPFILES) | 55 | -rm -- $(DEPFILES) |
53 | -rm -- importer | 56 | -rm -- importer |
57 | -rm -- eventlogging/events.go | ||
54 | 58 | ||
55 | superclean: clean | 59 | superclean: clean |
56 | -rm -- .npm_update | 60 | -rm -- .npm_update |