Created
December 10, 2014 23:20
-
-
Save mcburton/b2840061893979e60c5a to your computer and use it in GitHub Desktop.
A makefile for making my dissertation into a dissertation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DATE=`date +%d%b%y` | |
BIBLIOGRAPHY=/Users/mcburton/Dropbox/zotero/library.bib | |
REFERENCE=reference.docx | |
num = 1,2,3,4,5,6 | |
CHAPTERLIST := chapter-[$(num)]-*.md | |
.PHONY: draft | |
draft: | |
pandoc --reference-docx $(REFERENCE) \ | |
--filter pandoc-citeproc \ | |
--bibliography $(BIBLIOGRAPHY) \ | |
$(CHAPTERLIST) \ | |
-o output-docs/draft-$(DATE).docx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment