Makefile
branchv_0
changeset 36 9e5c3383ba50
parent 33 d6cb9fe26aed
child 47 7e665331bc32
--- 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 <https://www.gnu.org/licenses/>.
 
-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