diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,7 @@ | |||
1 | include config.mk | 1 | include config.mk |
2 | 2 | ||
3 | IMPORTER_FILES = $(shell find tools/importer/ -type f -name '*.go') | ||
4 | |||
3 | CSS_FILES = $(patsubst assets_src/%, assets/%, $(shell find assets_src/css/ -type f -name '*.css')) | 5 | CSS_FILES = $(patsubst assets_src/%, assets/%, $(shell find assets_src/css/ -type f -name '*.css')) |
4 | LESS_FILES = $(patsubst assets_src/%.less, assets/%.css, $(shell find assets_src/css/ -type f -name '*.less')) | 6 | LESS_FILES = $(patsubst assets_src/%.less, assets/%.css, $(shell find assets_src/css/ -type f -name '*.less')) |
5 | JS_FILES = $(patsubst assets_src/%, assets/%, $(shell find assets_src/js/ -maxdepth 1 -type f -name '*.js')) | 7 | JS_FILES = $(patsubst assets_src/%, assets/%, $(shell find assets_src/js/ -maxdepth 1 -type f -name '*.js')) |
@@ -48,6 +50,7 @@ clean: | |||
48 | -rm -- $(LESS_FILES) | 50 | -rm -- $(LESS_FILES) |
49 | -rm -- $(JS_FILES) | 51 | -rm -- $(JS_FILES) |
50 | -rm -- $(DEPFILES) | 52 | -rm -- $(DEPFILES) |
53 | -rm -- importer | ||
51 | 54 | ||
52 | superclean: clean | 55 | superclean: clean |
53 | -rm -- .npm_update | 56 | -rm -- .npm_update |
@@ -59,5 +62,8 @@ ultraclean: superclean | |||
59 | run: all | 62 | run: all |
60 | go run *.go | 63 | go run *.go |
61 | 64 | ||
65 | importer: $(IMPORTER_FILES) | ||
66 | go build -o importer tools/importer/*.go | ||
67 | |||
62 | .PHONY: all print_info clean superclean ultraclean run | 68 | .PHONY: all print_info clean superclean ultraclean run |
63 | 69 | ||