summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2019-04-28 11:24:33 +0200
committerGustav Eek <gustav.eek@fripost.org>2019-04-28 12:46:51 +0200
commit54bc7f83d5c398a16eac32fffaebf9f4f98f2340 (patch)
tree675aa48d4662d1a3e449c526392b4e9d1aa063ff /Makefile
parentfcc04d6bf7e89aa2272016546bcb28378ddcfff4 (diff)
PDF compilation added
Makefile for the creation of PDF added. Also Latex filters for sed added. Also in the markdown file, the meta tag is splitted so that the sed filter could easiliy pick it up.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..794a87c
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+ALL = \
+pdf/2019-03-28-flfd.pdf
+
+all: pdf $(ALL)
+
+OPT_PANDOC = \
+ -f markdown \
+ -t latex \
+ -V documetclass=article -V classoption=twocolumn \
+
+
+pdf/2019-03-28-flfd.pdf: inquiries/2019-03-28-flfd.mdwn
+ cat $< | sed -f sed/latex.sed | pandoc $(OPT_PANDOC) -o $@
+
+pdf:
+ mkdir -p $@
+
+clean:
+ rm -fr pdf