aboutsummaryrefslogtreecommitdiffstats
path: root/by-laws/Makefile
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2018-05-24 20:20:37 +0200
committerGustav Eek <gustav.eek@fripost.org>2018-05-24 20:23:57 +0200
commit7074dda02db2820098e2364c769f771c643d95de (patch)
tree9d24288cb6d0a2fa046603cc9c66af51c4be7332 /by-laws/Makefile
parent2d52add9824330467c864e7caffc5d148e8e45e5 (diff)
Data protection policy added to by-laws folder. Policy written by Leif-Jöran
Diffstat (limited to 'by-laws/Makefile')
-rw-r--r--by-laws/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/by-laws/Makefile b/by-laws/Makefile
index 973fa3f..bae397f 100644
--- a/by-laws/Makefile
+++ b/by-laws/Makefile
@@ -4,6 +4,7 @@ by-laws-2013 \
by-laws-2012 \
by-laws-2010 \
operational-policy-2018 \
+data-protection-policy-2018 \
common-makefile = ../resources/Makefile-common
@@ -14,6 +15,9 @@ all: $(ALL)
$(ALL): %: %.pdf
+data-protection-%: dataskydds%
+ cp $< $@
+
%.pdf: %.main.tex %.tex ../preamble/preamble.tex
latex_count=5 ;\
latex_log=$$(echo $< | sed 's/.tex/.log/') ;\
@@ -24,6 +28,9 @@ $(ALL): %: %.pdf
done ;\
mv $$(echo $< | sed 's/.tex/.pdf/') $@
+%.pdf: %.odt
+ libreoffice --headless "-env:UserInstallation=file:///tmp/lo-$$" --convert-to pdf $<
+
send:
make -f $(common-makefile) send SEND_FILES="$(ALL)"