diff -r db3eb602fa60 -r 9e5c3383ba50 Makefile --- a/Makefile Wed Sep 25 12:38:48 2019 +0200 +++ b/Makefile Wed Sep 25 23:59:20 2019 +0200 @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -all: validate xhtml txt +all: validate xhtml txt pdf logo-png statistics validate: xmllint --noout --schema schema/ssm.xsd text/ssm.en.xml @@ -24,6 +24,11 @@ cp templates/*.css build cp templates/*.woff build +pdf: + mkdir -p build + xsltproc --output build/ssm.en.fodt --nonet templates/ssm.odt.xsl text/ssm.en.xml + libreoffice --convert-to pdf --outdir build build/ssm.en.fodt + # TODO: better line wrapping txt: mkdir -p build