mirror of https://github.com/tildeclub/site.git
improve build output
This commit is contained in:
parent
33cc48da16
commit
9ef211d469
|
@ -6,7 +6,8 @@ PANDOC != command -v pandoc 2> /dev/null
|
||||||
all: $(DST_HTML_FILES)
|
all: $(DST_HTML_FILES)
|
||||||
|
|
||||||
%.html: source/%.md
|
%.html: source/%.md
|
||||||
$(PANDOC) \
|
@echo "building $@"
|
||||||
|
@$(PANDOC) \
|
||||||
--template wiki.tmpl \
|
--template wiki.tmpl \
|
||||||
--lua-filter header-permalinks.lua \
|
--lua-filter header-permalinks.lua \
|
||||||
--title-prefix "tilde.club wiki" \
|
--title-prefix "tilde.club wiki" \
|
||||||
|
@ -17,7 +18,8 @@ all: $(DST_HTML_FILES)
|
||||||
$<
|
$<
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm *.html
|
@echo "removing generated files"
|
||||||
|
@rm $(DST_HTML_FILES)
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue