aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--annual-meetings/motions/Makefile21
-rw-r--r--annual-meetings/motions/headings.sed1
2 files changed, 14 insertions, 8 deletions
diff --git a/annual-meetings/motions/Makefile b/annual-meetings/motions/Makefile
index 683f2f4..019b239 100644
--- a/annual-meetings/motions/Makefile
+++ b/annual-meetings/motions/Makefile
@@ -8,14 +8,12 @@ PREAMBLE = preamble_.tex acronyms_.tex attendants_.tex
all: $(ALL)
%_.tex: %.mdwn
- cat < $< | sed -e 's/^$$/\\mypar\n/' |\
- sed -f ../../preamble/acronyms.sed \
- -f ../../preamble/attendants.sed \
- -f ../../preamble/snippets.sed |\
- pandoc -f markdown -t latex > $@
-
-
-
+ cat < $< | sed -e 's/^$$/\\mypar\n/' \
+ | sed -f ../../preamble/acronyms.sed \
+ -f ../../preamble/attendants.sed \
+ -f ../../preamble/snippets.sed \
+ -f headings.sed \
+ | pandoc -f markdown -t latex > $@
motions-%.pdf: %.main.tex $(TEX) $(PREAMBLE)
pdflatex -jobname=$(basename $@) $<
@@ -27,3 +25,10 @@ clean:
$(PREAMBLE): %_.tex: ../../preamble/%.tex
sed 's/..\/preamble\/\([a-z]*\)/\1_/g' < $< > $@
+
+SEND_FILES = \
+ $(wildcard *.pdf)
+
+send:
+ rsync -ruvp --chmod=Dugo+rx,Fugo+r $(SEND_FILES) www.fripost.org:/var/www/fripost.org/minutes
+ @echo; echo Now avialable as; for f in $(SEND_FILES); do echo " - https://fripost.org/minutes/$$f"; done
diff --git a/annual-meetings/motions/headings.sed b/annual-meetings/motions/headings.sed
new file mode 100644
index 0000000..9e40d4d
--- /dev/null
+++ b/annual-meetings/motions/headings.sed
@@ -0,0 +1 @@
+1 s/^% \(.*\)/## \1/