aboutsummaryrefslogtreecommitdiffstats
path: root/2013
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@proceranetworks.com>2013-04-18 17:10:15 +0200
committerGustav Eek <gustav.eek@proceranetworks.com>2013-04-18 17:10:15 +0200
commitcf84992f282bd9a1cbac21e525175e466328056f (patch)
tree9e2ee4ba25a9f469ba7cf17ad6bb727fc5d1fca9 /2013
parent5ac8861e5e328fd802ffca7c605605fb1d7ae73c (diff)
Complettations added to minutes March 26
Social security number added to the minutes from the meeting of March 26, the board establishing meeting. The method used is an encrypted sed script. Everyting is executed through GNU Make: $ make completes
Diffstat (limited to '2013')
-rw-r--r--2013/2013-03-26-board.sed.gpgbin0 -> 1538 bytes
-rw-r--r--2013/Makefile19
2 files changed, 15 insertions, 4 deletions
diff --git a/2013/2013-03-26-board.sed.gpg b/2013/2013-03-26-board.sed.gpg
new file mode 100644
index 0000000..f05dfa7
--- /dev/null
+++ b/2013/2013-03-26-board.sed.gpg
Binary files differ
diff --git a/2013/Makefile b/2013/Makefile
index 7e2cd05..6c7f8be 100644
--- a/2013/Makefile
+++ b/2013/Makefile
@@ -1,14 +1,18 @@
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'
-
+# Normal minutes
all: \
+2013-03-26-board.pdf \
2013-03-12-board-notes.pdf \
2013-02-12-board.pdf
+# Minutes with information from external sources
+completes: 2013-03-26-board-complete.pdf
+
%.pdf: %.tex ../preamble/preamble.tex
latex_count=5 ;\
- latex_log=$$(echo $@ | sed 's/.pdf/.log') ;\
+ latex_log=$$(echo $@ | sed 's/.pdf/.log/') ;\
pdflatex $< ;\
while egrep -s 'Rerun (LaTeX|to get cross-references right)' \\\
$$latex_log && [ $$latex_count -gt 0 ] ;\
@@ -16,11 +20,18 @@ all: \
latex_count=`expr $$latex_count - 1`;\
done;
+%-complete.tex: %.tex %.sed.gpg
+ source=$$(echo $< | sed 's/.tex//') ; \
+ gpg --decrypt < $${source}.sed.gpg > $${source}.sed_ ; \
+ sed -f $${source}.sed_ < $< > $@ ;\
+ rm -f $${source}.sed_
+
# Sends to fripost.org for publication
send:
- rsync -ruvp --chmod=Dugo+rx,Fugo+r *.pdf fripost@fripost.org:fripost.org/minutes/
+ rsync -ruvp --chmod=Dugo+rx,Fugo+r *-board.pdf *-notes.pdf *-annual.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
+ rm -f *.aux *.bbl *.dvi *.log *.nav *.out *.snm *.toc *~;\
+ rm -f *complete.tex