aboutsummaryrefslogtreecommitdiffstats
path: root/agenda/Makefile
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2019-05-04 10:17:59 +0200
committerGustav Eek <gustav.eek@fripost.org>2019-05-04 10:17:59 +0200
commit71071120a4b90aaaf8e44596121cd298f7ecae4c (patch)
tree79bb283c837d04df02677ed004d1cc3d66edc455 /agenda/Makefile
parentae2e2bdb68d8d3a5b1a0acf1b3f547600c6c699f (diff)
parent0e578f49ab5c47b5b2722bfa491aa3c8099978fb (diff)
Merge branch 'master' into 2018-05-28-board
Diffstat (limited to 'agenda/Makefile')
-rw-r--r--agenda/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/agenda/Makefile b/agenda/Makefile
index a518a72..3ff045d 100644
--- a/agenda/Makefile
+++ b/agenda/Makefile
@@ -2,9 +2,13 @@
#
# Gustav Eek 2011
-all: \
-board-meeting-agenda.pdf \
-yearly-meeting-agenda.pdf \
+ALL = \
+board-meeting-agenda \
+yearly-meeting-agenda \
+
+common-makefile = ../resources/Makefile-common
+
+all: $(addsuffix .pdf, $(ALL))
%.pdf: %.tex ../preamble/preamble.tex
latex_count=5 ; \
@@ -14,8 +18,7 @@ yearly-meeting-agenda.pdf \
do echo "Rerunning latex...." ; pdflatex $<; latex_count=`expr $$latex_count - 1`; done
send: # sends to fripost.org for publication
- umask 022 ;\
- rsync -ruvp --chmod=Dugo+rx,Fugo+r *.pdf www.fripost.org:/var/www/fripost.org/minutes
+ make -f $(common-makefile) send SEND_FILES="$(ALL)"
clean:
rm *.aux *.bbl *.dvi *.log *.nav *.out *.snm *.toc *~