-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (24 loc) · 681 Bytes
/
Copy pathMakefile
File metadata and controls
33 lines (24 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
check:
wget --spider -r -p -nd -nv -l 5 -o run1.log http://127.0.0.1:4000/
grep -B1 'broken link!' run1.log
# show papers that don't refer to a note
unnoted:
grep -A1 '^notes:' _papers/*.md | grep 'md----'
RelatedWork.md: _scripts/expand.py
_scripts/expand.py _papers/*.md _notes/*.md > $@
RelatedWork.html: RelatedWork.md
pandoc $< -s -o $@
RelatedWork.epub: RelatedWork.md
pandoc $< -s -o $@
RelatedWork.bib:
_scripts/md2bib.py RelatedWork.bib _papers/*.md
RW.pdf: RelatedWork.bib
pdflatex RW
bibtex RW
pdflatex RW
clean::
$(RM) RW.{aux,blg,bbl,dvi,log,out,pdf}
${RM} RelatedWork.{bib,epub,html,md}
${RM} _data/authors.yaml
${RM} _data/backrefs.yaml
# End