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)
|
||||
|
||||
%.html: source/%.md
|
||||
$(PANDOC) \
|
||||
@echo "building $@"
|
||||
@$(PANDOC) \
|
||||
--template wiki.tmpl \
|
||||
--lua-filter header-permalinks.lua \
|
||||
--title-prefix "tilde.club wiki" \
|
||||
|
@ -17,7 +18,8 @@ all: $(DST_HTML_FILES)
|
|||
$<
|
||||
|
||||
clean:
|
||||
rm *.html
|
||||
@echo "removing generated files"
|
||||
@rm $(DST_HTML_FILES)
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
|
|
Loading…
Reference in New Issue