summaryrefslogtreecommitdiffstats
path: root/docs/manual
diff options
context:
space:
mode:
authorIgor Galić <igalic@apache.org>2012-04-25 13:53:41 +0200
committerIgor Galić <igalic@apache.org>2012-04-25 13:53:41 +0200
commitb92b224c3a88b91a4b31870c1eb2e5f6f040ecd2 (patch)
treefd01c84a3cf9178884a7028ac9f72e88d77f0410 /docs/manual
parentFix XML validation (diff)
downloadapache2-b92b224c3a88b91a4b31870c1eb2e5f6f040ecd2.tar.xz
apache2-b92b224c3a88b91a4b31870c1eb2e5f6f040ecd2.zip
make validate-xml a target of "all"
make it *fail* when the XML doesn't validate. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330223 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual')
-rw-r--r--docs/manual/style/lang-targets.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/manual/style/lang-targets.xml b/docs/manual/style/lang-targets.xml
index 80c09b7bbc..48c71231c4 100644
--- a/docs/manual/style/lang-targets.xml
+++ b/docs/manual/style/lang-targets.xml
@@ -23,7 +23,7 @@
<project name="lang-targets">
<target name="check-man"><if><not><available type="dir" file="../../man"/></not><then><property value="yes" name="skip-man"/></then></if></target>
-<target description="- builds all HTML files and nroff man pages" name="all" depends="da, de, en, es, fr, ja, ko, pt-br, ru, tr, zh-cn"/>
+<target description="- builds all HTML files and nroff man pages" name="all" depends="validate-xml, da, de, en, es, fr, ja, ko, pt-br, ru, tr, zh-cn"/>
<target description="- builds all zip download packages" name="zip-all" depends="zip-da, zip-de, zip-en, zip-es, zip-fr, zip-ja, zip-ko, zip-pt-br, zip-ru, zip-tr, zip-zh-cn"/>
<target description="- builds all war download packages" name="war-all" depends="war-da, war-de, war-en, war-es, war-fr, war-ja, war-ko, war-pt-br, war-ru, war-tr, war-zh-cn"/>
@@ -292,7 +292,7 @@
<!-- because it mostly gives you a hint, where you forgot the </p> ;-) -->
<!-- ==================================================================== -->
<target description="- validates all XML source files" name="validate-xml">
- <xmlvalidate warn="true" failonerror="false" lenient="false">
+ <xmlvalidate warn="true" failonerror="true" lenient="false">
<xmlcatalog refid="w3c-catalog"/>
<fileset dir="../">
<include name="**/*.xml.da"/>
@@ -313,4 +313,4 @@
</xmlvalidate>
</target>
-</project> \ No newline at end of file
+</project>