diff options
Diffstat (limited to 'agenda/Makefile')
-rw-r--r-- | agenda/Makefile | 13 |
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 *~ |