From 7c1b34cf734bce0b194a559298f81ad888a7e585 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Sat, 23 Feb 2019 23:51:53 +0100 Subject: Agenda Makefile update --- agenda/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'agenda/Makefile') diff --git a/agenda/Makefile b/agenda/Makefile index a518a72..f84ffb6 100644 --- a/agenda/Makefile +++ b/agenda/Makefile @@ -2,6 +2,8 @@ # # Gustav Eek 2011 +common-makefile = ../resources/Makefile-common + all: \ board-meeting-agenda.pdf \ yearly-meeting-agenda.pdf \ @@ -14,8 +16,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 *~ -- cgit v1.2.3 From 55d174fa580514c2f1a7824447a0cab79960b246 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Fri, 3 May 2019 14:38:04 +0200 Subject: Makefile update on agendas --- agenda/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'agenda/Makefile') diff --git a/agenda/Makefile b/agenda/Makefile index f84ffb6..3ff045d 100644 --- a/agenda/Makefile +++ b/agenda/Makefile @@ -2,11 +2,13 @@ # # Gustav Eek 2011 +ALL = \ +board-meeting-agenda \ +yearly-meeting-agenda \ + common-makefile = ../resources/Makefile-common -all: \ -board-meeting-agenda.pdf \ -yearly-meeting-agenda.pdf \ +all: $(addsuffix .pdf, $(ALL)) %.pdf: %.tex ../preamble/preamble.tex latex_count=5 ; \ @@ -16,7 +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 - make -f $(common-makefile) send SEND_FILES="$(all)" + make -f $(common-makefile) send SEND_FILES="$(ALL)" clean: rm *.aux *.bbl *.dvi *.log *.nav *.out *.snm *.toc *~ -- cgit v1.2.3