diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2020-09-06 10:54:05 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2020-09-06 10:54:05 +0200 |
commit | 1a016bc2b8d7bbdc52f3c41fb17a5ab0ef7b6d0f (patch) | |
tree | 8461429a32c2a3315adbc49c0bdf553f30ed4043 /gen.sh | |
parent | d5a45d86284bcda47b99e9561a3d6859dc3e5576 (diff) | |
download | lulua-1a016bc2b8d7bbdc52f3c41fb17a5ab0ef7b6d0f.tar.gz lulua-1a016bc2b8d7bbdc52f3c41fb17a5ab0ef7b6d0f.tar.bz2 lulua-1a016bc2b8d7bbdc52f3c41fb17a5ab0ef7b6d0f.zip |
report: Add b/w PDF for printouts
Might come handy if you need a physical reference card.
Diffstat (limited to 'gen.sh')
-rwxr-xr-x | gen.sh | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -37,6 +37,12 @@ rule opt rule render-svg command = lulua-render -l \$layout svg \$out +rule render-svg-print + command = lulua-render -l \$layout svg -s lulua/data/render-svg-print.css \$out + +rule svg2pdf + command = rsvg-convert -f pdf \$in > \$out + rule render-svg-heat command = lulua-render -l \$layout svg --heatmap=\$in \$out @@ -198,6 +204,11 @@ build \$tempdir/${l}-heat.yaml: analyze-heat \$statsdir/${l}/all.pickle || \$tem build \$reportdir/${l}-heat.svg: render-svg-heat \$tempdir/${l}-heat.yaml || \$reportdir layout = ${l} +build \$tempdir/${l}-print.svg: render-svg-print || \$tempdir + layout = ${l} + +build \$reportdir/${l}.pdf: svg2pdf \$tempdir/${l}-print.svg || \$reportdir + build \$tempdir/${l}-layoutstats.pickle: analyze-layoutstats \$statsdir/${l}/all.pickle || \$tempdir layout = ${l} |