]> pere.pagekite.me Git - text-free-culture-lessig.git/commitdiff
Add xmllint to check DocBook file.
authorW. Martin Borgert <debacle@debian.org>
Tue, 17 Jul 2012 16:29:21 +0000 (18:29 +0200)
committerW. Martin Borgert <debacle@debian.org>
Tue, 17 Jul 2012 16:29:21 +0000 (18:29 +0200)
Makefile
README.md

index 13d000cf6ddc4d07fa06e7e0afc62cfc9222cd96..bf2428f3cce1c89fbf32b932cc06dd45b26d5b28 100644 (file)
--- 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
index 52e515f4f8f7af17ce4d5feac9207ec2a5f6fe7c..fc871721ebd94ee8a461a6a6c92118b8125b6c02 100644 (file)
--- 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.