summaryrefslogtreecommitdiffstats
path: root/leaflets/organisations/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'leaflets/organisations/Makefile')
-rw-r--r--leaflets/organisations/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/leaflets/organisations/Makefile b/leaflets/organisations/Makefile
index 487fc87..56d0288 100644
--- a/leaflets/organisations/Makefile
+++ b/leaflets/organisations/Makefile
@@ -1,22 +1,20 @@
all = \
fripost-organisations-leaflet.pdf \
+ fripost-organisations-standard.pdf \
organisations.tex \
organisations.mdwn
-pandoc-opts = \
- --template=template.tex \
- -V documentclass=leaflet \
- -V classoption=tumble \
- -V papersize=a4paper
-
all: $(all)
-fripost-organisations-leaflet.pdf: organisations.mdwn
- pandoc -s -f markdown -t latex $(pandoc-opts) -o $@ $<
+fripost-organisations-leaflet.pdf: organisations.mdwn template.tex
+ pandoc -s -f markdown -t latex --template=template.tex -o $@ $<
+
+fripost-organisations-standard.pdf: organisations.mdwn
+ pandoc -s -f markdown -t latex -o $@ $<
organisations.tex: organisations.mdwn template.tex
- pandoc -s -f markdown -t latex $(pandoc-opts) < $< > $@
+ pandoc -s -f markdown -t latex --template=template.tex < $< > $@
organisations.mdwn:
git archive --remote=gitolite@git.fripost.org:fripost-wiki.git --format=tar HEAD organisations.mdwn | tar --extract > $@