[SCM] website branch, master, updated. ad038136d24d649bb5d4e73820fcc445880ab333
Bas Couwenberg
sebastic at xs4all.nl
Sun Jan 19 22:32:57 UTC 2014
The following commit has been merged in the master branch:
commit 80587275c29e7dad80a4c3f09b82df877ad5f870
Author: Bas Couwenberg <sebastic at 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
More information about the Pkg-grass-devel
mailing list