diff options
author | Gustav Eek <gustav.eek@fripost.org> | 2022-05-24 07:33:21 +0200 |
---|---|---|
committer | Gustav Eek <gustav.eek@fripost.org> | 2022-05-24 07:33:21 +0200 |
commit | f96b8c73a0d922e54e7e3a13bef6f234dd08027b (patch) | |
tree | 1f5bc71a765220e56d8b474c95c300506a23f0a4 /annual-meetings/motions/Makefile | |
parent | ac99b7ac503cd5badaba9442676e9a24d80380e2 (diff) | |
parent | 4247e0ffa9958d42950f813e355f2a116aa16f9a (diff) |
Merge branch '2021-05-30-annual'ge/latex-sty
Diffstat (limited to 'annual-meetings/motions/Makefile')
-rw-r--r-- | annual-meetings/motions/Makefile | 21 |
1 files changed, 13 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 |