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(-) 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