diff -r 6dff32230593 -r 78eca0b3ab5f Makefile --- a/Makefile Mon Apr 27 10:55:46 2020 +0200 +++ b/Makefile Tue Jul 14 16:42:04 2020 +0200 @@ -20,12 +20,24 @@ validate: xmllint --noout --schema schema/ssm.xsd text/ssm.en.xml -xhtml: +xhtml: templates/cmunrm.woff templates/cmunbx.woff mkdir -p build xsltproc $(VERSION_PARAMS) --output build/index.xhtml --nonet templates/ssm.xhtml.xsl text/ssm.en.xml cp templates/*.css build cp templates/*.woff build +templates/cmunrm.ttf: + cd templates/; ln -s /usr/share/fonts/truetype/cmu/cmunrm.ttf + +templates/cmunbx.ttf: + cd templates/; ln -s /usr/share/fonts/truetype/cmu/cmunbx.ttf + +templates/cmunrm.woff: templates/cmunrm.ttf + cd templates/; sfnt2woff cmunrm.ttf + +templates/cmunbx.woff: templates/cmunbx.ttf + cd templates/; sfnt2woff cmunbx.ttf + pdf: mkdir -p build xsltproc $(VERSION_PARAMS) --output build/ssm.en.fodt --nonet templates/ssm.odt.xsl text/ssm.en.xml