diff options
Diffstat (limited to 'tools/makefile')
-rw-r--r-- | tools/makefile | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/makefile b/tools/makefile deleted file mode 100644 index 5e8d26d..0000000 --- a/tools/makefile +++ /dev/null @@ -1,17 +0,0 @@ - -TOOL := ../tools/target/debug/blog-tool - -SRC_ARTICLES := $(shell find articles -type f) -OUT_ARTICLES := $(SRC_ARTICLES:articles/%.md=out/%.html) - -all: $(OUT_ARTICLES) out/index.html - -out/index.html: $(TOOL) $(SRC_ARTICLES) - $(TOOL) render-index ./articles > $@ - -out/%.html: articles/%.md $(TOOL) - mkdir -p out - $(TOOL) render-article $< > $@ - -$(TOOL): $(shell find ../tools/src -type f) - sh -c 'cd ../tools; cargo build' |