Mercurial > mplayer.hg
comparison DOCS/xml/configure @ 31780:d55bcadba17a
Skip searching for an xmllint command.
The xmllint target is separate from building the documentation; thus if xmllint
is not available, the xmllint targets can fail without further harm.
author | diego |
---|---|
date | Wed, 28 Jul 2010 10:00:56 +0000 |
parents | 6f79e6b02ed8 |
children |
comparison
equal
deleted
inserted
replaced
31779:6f79e6b02ed8 | 31780:d55bcadba17a |
---|---|
175 echo "xsltproc is unusable without stylesheets." | 175 echo "xsltproc is unusable without stylesheets." |
176 fi | 176 fi |
177 fi | 177 fi |
178 | 178 |
179 | 179 |
180 echo "Searching for XML checker..." | |
181 if command -v xmllint > /dev/null 2>&1; then | |
182 echo "Found xmllint" | |
183 xmllint_command="xmllint --noout --noent --postvalid $catalog_opts \$*" | |
184 else | |
185 echo "Not found" | |
186 xmllint_command=true | |
187 fi | |
188 | |
189 cat > xml.mak << EOF | 180 cat > xml.mak << EOF |
190 CATALOG = $catalog | 181 CATALOG = $catalog |
191 XMLLINT_COMMAND = $xmllint_command | 182 XMLLINT_COMMAND = xmllint --noout --noent --postvalid $catalog_opts \$* |
192 XSLT_COMMAND = $xsltcommand | 183 XSLT_COMMAND = $xsltcommand |
193 EOF | 184 EOF |