From d93d66f6d287e9861a3d19e47faeb0349f87c17e Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Sun, 20 May 2018 15:08:58 +0200 Subject: By-laws compilation and send procedure update The *Makefile* for by-laws is updated and modernized. --- by-laws/Makefile | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'by-laws/Makefile') diff --git a/by-laws/Makefile b/by-laws/Makefile index e17d0dd..973fa3f 100644 --- a/by-laws/Makefile +++ b/by-laws/Makefile @@ -1,14 +1,18 @@ -# Makefile for minutes with usual treatments, that is noting extra then just compilation. -# -# Gustav Eek 2011 -noarg: - echo -e '\nThis script do not run without arguments. Run for example:\n\n make 2011-02-13-board-notes.pdf\n make all\n' +ALL= \ +by-laws-2013 \ +by-laws-2012 \ +by-laws-2010 \ +operational-policy-2018 \ -all: \ -by-laws-2013.pdf \ -by-laws-2012.pdf \ -by-laws-2010.pdf +common-makefile = ../resources/Makefile-common + +help: + @make -s -f $(common-makefile) help + +all: $(ALL) + +$(ALL): %: %.pdf %.pdf: %.main.tex %.tex ../preamble/preamble.tex latex_count=5 ;\ @@ -21,7 +25,7 @@ by-laws-2010.pdf mv $$(echo $< | sed 's/.tex/.pdf/') $@ send: - rsync -ruvp --chmod=Dugo+rx,Fugo+r *.pdf fripost@fripost.org:fripost.org/minutes/ + make -f $(common-makefile) send SEND_FILES="$(ALL)" clean: rm *.aux *.bbl *.dvi *.log *.nav *.out *.snm *.toc *~ -- cgit v1.2.3 From 7074dda02db2820098e2364c769f771c643d95de Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Thu, 24 May 2018 20:20:37 +0200 Subject: =?UTF-8?q?Data=20protection=20policy=20added=20to=20by-laws=20fol?= =?UTF-8?q?der.=20Policy=20written=20by=20Leif-J=C3=B6ran?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- by-laws/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'by-laws/Makefile') 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)" -- cgit v1.2.3