summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-05-13 17:47:36 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-05-13 17:47:36 +0200
commit1dc85d0743974dc7104a76edfe3a6b15c0c166da (patch)
tree283e98060cff655cd39d0fb1bd01d7b26ae34c65
parentClass option is a4paper not a4. (diff)
downloadcouncil-1dc85d0743974dc7104a76edfe3a6b15c0c166da.tar.gz
council-1dc85d0743974dc7104a76edfe3a6b15c0c166da.tar.bz2
council-1dc85d0743974dc7104a76edfe3a6b15c0c166da.zip
Add targets to make standalone pdf and html summaries
-rw-r--r--decisions/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/decisions/Makefile b/decisions/Makefile
index e6ab80b..2f9c97e 100644
--- a/decisions/Makefile
+++ b/decisions/Makefile
@@ -37,3 +37,11 @@ upload: onlineupdate decisions.pdf decisions.html
scp decisions.pdf dev.gentoo.org:~/public_html/
scp decisions.html dev.gentoo.org:~/public_html/
+summary-%.texs : summary-%.tex
+ echo "\\documentclass{councilsummary}\\begin{document}\\input{$<}\\end{document}" > $@
+
+summary-%.pdf : summary-%.texs
+ pdflatex -jobname $(basename $< .texs) $<
+
+summary-%.html : summary-%.texs
+ mk4ht xhlatex $< "xhtml,fn-in -jobname $(basename $< .texs)"