diff options
author | Gustav Eek <gustav.eek@proceranetworks.com> | 2012-06-03 20:18:18 +0200 |
---|---|---|
committer | Gustav Eek <gustav.eek@proceranetworks.com> | 2012-06-03 20:18:18 +0200 |
commit | 06b0b8a569b9d7f807cf76a8d87a409173fc921d (patch) | |
tree | 5a2746c96fd1f6b0d05b8d14330d32ca412d8d05 /agenda/Makefile | |
parent | e67daeba96410552dcddf9819ab748fed6527347 (diff) |
Suggestion to permanent suggestion to agenda is added.
Diffstat (limited to 'agenda/Makefile')
-rw-r--r-- | agenda/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/agenda/Makefile b/agenda/Makefile new file mode 100644 index 0000000..5cbaf8b --- /dev/null +++ b/agenda/Makefile @@ -0,0 +1,32 @@ +# 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' + +bma = board-meeting-agenda + +all: $(bma).pdf + +$(bma).pdf: $(bma).tex ../preamble/preamble.tex + pdflatex $(bma).tex + latex_count=5 ; \ + while egrep -s 'Rerun (LaTeX|to get cross-references right)' $(bma).log && [ $$latex_count -gt 0 ] ;\ + do echo "Rerunning latex...." ; pdflatex $(bma).tex; latex_count=`expr $$latex_count - 1`; done + +send: # sends to fripost.org for publication + umask 022 + rsync -ruvp --chmod=Dugo+rx,Fugo+r *.pdf fripost@fripost.org:fripost.org/minutes/ + +# Debuging and testing +send-test: test.d/test + umask 022 + rsync -ruvp --chmod=Dugo+rx,Fugo+r rsync -ruvp test.d/ fripost@fripost.org:fripost.org/minutes/ +test.d/test: test.d + echo This is the test file for fripost-web. > test.d/test +test.d: + mkdir test.d + +clean: + rm *.aux *.bbl *.dvi *.log *.nav *.out *.snm *.toc *~ |