aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9fbe1b7..fbef6fa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
1include config.mk 1include config.mk
2 2
3IMPORTER_FILES = $(shell find tools/importer/ -type f -name '*.go')
4
3CSS_FILES = $(patsubst assets_src/%, assets/%, $(shell find assets_src/css/ -type f -name '*.css')) 5CSS_FILES = $(patsubst assets_src/%, assets/%, $(shell find assets_src/css/ -type f -name '*.css'))
4LESS_FILES = $(patsubst assets_src/%.less, assets/%.css, $(shell find assets_src/css/ -type f -name '*.less')) 6LESS_FILES = $(patsubst assets_src/%.less, assets/%.css, $(shell find assets_src/css/ -type f -name '*.less'))
5JS_FILES = $(patsubst assets_src/%, assets/%, $(shell find assets_src/js/ -maxdepth 1 -type f -name '*.js')) 7JS_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
52superclean: clean 55superclean: clean
53 -rm -- .npm_update 56 -rm -- .npm_update
@@ -59,5 +62,8 @@ ultraclean: superclean
59run: all 62run: all
60 go run *.go 63 go run *.go
61 64
65importer: $(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