diff options
author | metamuffin <metamuffin@disroot.org> | 2022-08-29 16:59:57 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-08-29 16:59:57 +0200 |
commit | 7853c8a551806007c3697a38fa5f929ca45a0985 (patch) | |
tree | 52152d615d88a5ef5ca795a58722c4e6a52882e6 /tools/makefile | |
parent | ddc681c7793a990a67ae61ec183bb1a1138ea3ef (diff) | |
download | metamuffin-blog-7853c8a551806007c3697a38fa5f929ca45a0985.tar metamuffin-blog-7853c8a551806007c3697a38fa5f929ca45a0985.tar.bz2 metamuffin-blog-7853c8a551806007c3697a38fa5f929ca45a0985.tar.zst |
rename tools to code
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' |