From: W. Martin Borgert Date: Tue, 17 Jul 2012 16:29:21 +0000 (+0200) Subject: Add xmllint to check DocBook file. X-Git-Tag: edition-2015-10-10~2370^2^2~1 X-Git-Url: https://pere.pagekite.me/gitweb/text-free-culture-lessig.git/commitdiff_plain/46d98ac1db473367b87934b867f10fed0e28a84c?ds=sidebyside Add xmllint to check DocBook file. --- diff --git a/Makefile b/Makefile index 13d000c..bf2428f 100644 --- a/Makefile +++ b/Makefile @@ -57,3 +57,6 @@ stats: date +"%Y-%m-%dT%H%M" ; \ msgfmt -o /dev/null --statistics freeculture.nb.po 2>&1 \ ) | tee -a stats.txt + +lint: + xmllint --nonet --noout --postvalid --xinclude freeculture.xml diff --git a/README.md b/README.md index 52e515f..fc87172 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ packages are needed: po4a dblatex dbtoepub + libxml2-utils When the build requirements are in place, the PDF and EPUB version of the book can be build by running 'make' on the command line.