mirror of
https://github.com/dongdigua/dongdigua.github.io
synced 2024-11-27 17:10:55 +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
|