Added 2 new tests:
test_decimal_size test returns an error code when decimal numbers are
detected in width, height, or viewBox attributes. It is impossible to
create a pixel-perfect icon if its size does not fit into the pixel grid.
test_lengths_units returns an error code when any lengths units are set
in width, height, and viewBox attributes. This is protect the icon theme
from icons with mm, inch, and others grids.
Also, the test ban px units, because the pixel grid is a default units
for SVG.
A few tests have been renamed, and its description has been updated.
Changed the variable name to exclude icon themes from installing.
Was:
make IGNORE="ePapirus ePapirus-Dark" install
Becomes:
make EXCLUDE="ePapirus ePapirus-Dark" install
Likewise fixed the same issue when uninstalling.
The issue was rooted in the fact that "DESTDIR" and "PREFIX" weren't
quoted, which caused the 'mkdir', 'cp' and 'rm' commands to treat any
spaces in directory names as separate arguments.
The tests require the following commands:
* GNU grep
* GNU findutils
* xmlstarlet (for make test-all only)
NOTE: `make test` may return a non-zero exit code.
* Now can change the list of themes that will be installed:
Install only Papirus and Papirus-Dark:
`make THEMES="Papirus Papirus-Dark" install`
Install all except ePapirus and Papirus-Light
`make IGNORE="ePapirus Papirus-Light" install`
* Deleted `make post-install`. Icon caches now building with
`make install` if DESTDIR is not set
* Added `make dist`
* Added .gitattributes. It excludes tools from releases