The following commit has been merged in the master branch:
commit 80587275c29e7dad80a4c3f09b82df877ad5f870
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Sun Jan 19 20:28:40 2014 +0100

    Add validation step before converting to HTML.

diff --git a/Makefile b/Makefile
index 767cbc4..d794417 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ PUBLISHDIR=/home/groups/pkg-grass/htdocs
 
 all: policy
 
-policy:
+policy: valid
        xsltproc \
                --param toc.section.depth 5 \
                --output policy.html \
@@ -13,6 +13,9 @@ policy:
 clean:
        rm -f policy.html
 
+valid:
+       xmllint --valid policy.xml
+
 publish: policy
        rsync -av * $(PUBLISHHOST):$(PUBLISHDIR)
        ssh $(PUBLISHHOST) "chmod -R g+w $(PUBLISHDIR)/*"

-- 
pkg-grass website

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to