resources: compiler: Allow stripping blanks from xml data

It's hardly useful to bloat the resource data with blanks intended only
for human readability, so add a preprocessing option that uses xmllint --noblanks
to strip these.

Bug #667929.
This commit is contained in:
Christian Persch
2012-01-14 22:34:15 +01:00
parent e94a5f4f83
commit 45783c5927
4 changed files with 129 additions and 7 deletions

View File

@@ -95,6 +95,20 @@ at initialization and uninitialization time.
</variablelist>
</refsect2>
<refsect2><title>Environment Variables</title>
<variablelist>
<varlistentry>
<term><envar>XMLLINT</envar></term>
<listitem><para>
The full path to the xmllint executable. This is used to preprocess resources with the
<literal>xml-stripblanks</literal> preprocessing option. If this environment variable is not
set, xmllint is searched in the <envar>PATH</envar>.
</para></listitem>
</varlistentry>
</refsect2>
</refsect1>
<refsect1><title>See also</title>
</refsect1>