From 46d98ac1db473367b87934b867f10fed0e28a84c Mon Sep 17 00:00:00 2001 From: "W. Martin Borgert" Date: Tue, 17 Jul 2012 18:29:21 +0200 Subject: [PATCH] Add xmllint to check DocBook file. --- Makefile | 3 +++ README.md | 1 + 2 files changed, 4 insertions(+) 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. -- 2.47.2