diff options
author | Gustav Eek <gustav.eek@fripost.org> | 2018-05-20 15:08:58 +0200 |
---|---|---|
committer | Gustav Eek <gustav.eek@fripost.org> | 2018-05-20 23:14:35 +0200 |
commit | d93d66f6d287e9861a3d19e47faeb0349f87c17e (patch) | |
tree | b97fb50406a754759686ed7f3e56342c95e43411 /by-laws | |
parent | 5065494dc60cbbf4c605c85c32dcb05311a36998 (diff) |
By-laws compilation and send procedure update
The *Makefile* for by-laws is updated and modernized.
Diffstat (limited to 'by-laws')
-rw-r--r-- | by-laws/Makefile | 24 |
1 files 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 *~ |