Add Makefile
This commit is contained in:
parent
e98e2e5cb3
commit
31f946df48
16
Design.org
16
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
|
||||
|
|
BIN
Docs/Project.pdf
BIN
Docs/Project.pdf
Binary file not shown.
|
@ -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
|
Loading…
Reference in New Issue