mirror of
https://github.com/dongdigua/dongdigua.github.io
synced 2024-11-23 19:43:08 +08:00
19 lines
289 B
Makefile
19 lines
289 B
Makefile
all: describe org posts gmi
|
|
|
|
.PHONY: org
|
|
org:
|
|
cd org; $(MAKE)
|
|
|
|
posts:
|
|
pandoc posts.md --css=css/everforest.css -s -o posts.html
|
|
|
|
gmi:
|
|
misc/mdlist2gmi.py > posts.gmi
|
|
|
|
describe:
|
|
sed -i "s/\$$v\\$$/\$$v: $$(git describe --tags HEAD)\\$$/g" index.html
|
|
|
|
clean:
|
|
rm posts.html
|
|
rm posts.gmi
|