Skip to content

Commit 0f1725d

Browse files
author
Lancelot the Brave
committed
Add a makefile and ignore generated files
1 parent 4e0507e commit 0f1725d

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.pdf

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
MDS=$(wildcard *.md)
3+
PDFS=$(MDS:.md=.pdf)
4+
5+
default: $(PDFS)
6+
7+
%.pdf: %.md
8+
pandoc $< -o $@

0 commit comments

Comments
 (0)