mirror of
https://github.com/tildeclub/site.git
synced 2026-03-10 05:50:17 +00:00
improve build output
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user