aboutsummaryrefslogtreecommitdiffstats
path: root/by-laws/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'by-laws/Makefile')
-rw-r--r--by-laws/Makefile24
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 *~