Auto saved by Logseq
This commit is contained in:
parent
33d35c9233
commit
c46559d9c8
8 changed files with 326 additions and 10 deletions
15
Makefile
Normal file
15
Makefile
Normal file
|
@ -0,0 +1,15 @@
|
|||
MARKDOWN=$(shell find . -iname "*.md")
|
||||
HTML=$(MARKDOWN:.md=.html)
|
||||
|
||||
.PHONY = all tar clean
|
||||
|
||||
all: $(HTML)
|
||||
|
||||
%.html: %.md
|
||||
pandoc --from markdown --to html $< -o $@
|
||||
|
||||
tar: $(MARKDOWN)
|
||||
tar --exclude=notes.tar.gz --exclude=.git/ -czvf notes.tar.gz ./
|
||||
|
||||
clean:
|
||||
rm $(HTML)
|
Loading…
Add table
Add a link
Reference in a new issue