diff options
author | Gustav Eek <gustav.eek@proceranetworks.com> | 2013-02-20 07:19:03 +0100 |
---|---|---|
committer | Gustav Eek <gustav.eek@proceranetworks.com> | 2013-03-23 09:39:46 +0100 |
commit | 506f90c6919856051f86e3bffcd494e1d7cd2b39 (patch) | |
tree | c9b04c2c805cdd57ca9a6f89c2720e5cedabd655 /2013/Makefile | |
parent | 574d74644e8f68b2a4db40a05b3b06bc8a50ae07 (diff) |
Minutes written for Feb 12 meeting.
Also Makfile for 2013 created
Diffstat (limited to '2013/Makefile')
-rw-r--r-- | 2013/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/2013/Makefile b/2013/Makefile new file mode 100644 index 0000000..3df85b0 --- /dev/null +++ b/2013/Makefile @@ -0,0 +1,24 @@ +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' + +minutes1 = 2013-02-12-board +all: $(minutes1).pdf + +%.pdf: %.tex ../preamble/preamble.tex + latex_count=5 ;\ + latex_log=$$(echo $@ | sed 's/.pdf/.log') ;\ + pdflatex $< ;\ + while egrep -s 'Rerun (LaTeX|to get cross-references right)' \\\ + $$latex_log && [ $$latex_count -gt 0 ] ;\ + do echo "Rerunning latex...." ; pdflatex $< ;\ + latex_count=`expr $$latex_count - 1`;\ + done; + +# Sends to fripost.org for publication +send: + rsync -ruvp --chmod=Dugo+rx,Fugo+r *.pdf fripost@fripost.org:fripost.org/minutes/ + +# Clean up +clean: + rm *.aux *.bbl *.dvi *.log *.nav *.out *.snm *.toc *~; rm -f test test.d/test; rmdir test.d + |