From 31f946df4808823abcd3ddbd5fa657571995e780 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 30 Sep 2019 20:05:34 +0200 Subject: [PATCH] Add Makefile --- Design.org | 16 +++++++++------- Docs/Project.pdf | Bin 352815 -> 352815 bytes Makefile | 20 ++++++++++++++++++++ 3 files changed, 29 insertions(+), 7 deletions(-) create mode 100644 Makefile diff --git a/Design.org b/Design.org index 1c04fbc..7c77d98 100644 --- a/Design.org +++ b/Design.org @@ -8,16 +8,18 @@ * Users ** Admin * Tasks -** TODO Parsing script [0/2] [0%] +** TODO Parsing script [0/3] [0%] - [ ] Select useful fiels with awk - [ ] Sum of the volume and areas of each year -** TODO Type requirements handout [4/4] [100%] - SCHEDULED: <2019-09-27 Fri 23:55> +** DONE Type requirements handout [4/4] [100%] + CLOSED: [2019-09-27 Fri 14:54] SCHEDULED: <2019-09-27 Fri 23:55> - [X] Problem description - [X] Functional requirements - [X] Data requirements - [X] Semantic restrictions -** TODO Makefile [0/3] [0%] - - [ ] Org to Markdown - - [ ] Add YAML to Markdown - - [ ] Compile to PDF using Eisvogel +** DONE Makefile [3/3] [100%] + CLOSED: [2019-09-30 Mon 20:05] + - [X] Org to Markdown + - [X] Add YAML to Markdown + - [X] Compile to PDF using Eisvogel +** TODO Update date in YAML automatically diff --git a/Docs/Project.pdf b/Docs/Project.pdf index 5a8efc1ce144863a5c996d637c7d29dd3b4bc04d..36a7613d2f0bcc9102bfe989621881da63ac4f8c 100644 GIT binary patch delta 142 zcmZ2~M0EWT(S{br7N!>F7M3lnzk;-l4U7y7Obtx54UE(c4AeEb^nLSFToOxC6*OF| zj0_Ad4J=_wwyOrSHuE~UxjDNTSvVV*Sr{8T8JoJ9nYg%^xLO(;xtJQexmnsN*ccK} Lvi(&8t1BY_!N(-3 delta 142 zcmZ2~M0EWT(S{br7N!>F7M3lnzk;-l%ni+q42;aR4UE(c4AeEb^nLSFToOxC6*OF| zj0_Ad4J=_wwyOrSHuE|eIh(mUnp?OSJDQjSStjP@Mi!1{mIj87KoMgzI|Um<0!p^O JN?>(m1OU2XBtQTF diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f83024d --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +## ---- user config ---- +PANDOC_TMPL := eisvogel.latex +PANDOC_OPTIONS := --listings --toc -V lang=es +PANDOC_ORG := pandoc --toc +PANDOC_MD := pandoc --template $(PANDOC_TMPL) $(PANDOC_OPTIONS) +METADATA := Assets/metadata.yaml +DOC := Docs + +## ---- build rules ---- +all: $(DOC)/Project.pdf + +$(DOC)/Project.md: $(DOC)/Project.org + $(PANDOC_ORG) -o $@ $< + +$(DOC)/Project.pdf: $(DOC)/Project.md + $(PANDOC_MD) -o $@ $< $(METADATA) + +clean: + rm $(DOC)/*.md + rm $(DOC)/*.pdf