Don't use libxml2-python in Makefile

It's only effect is to report an error on file that can not be parsed.
The same can be achieved with xmllint, while cutting one dependency.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2016-05-18 13:21:52 +02:00
parent a7bfa5c0df
commit f7abece0cb
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ validate: $(XMLFILES) comps.rng
for f in $(XMLFILES); do xmllint --noout --relaxng comps.rng $$f; done
%.xml: %.xml.in
@python -c 'import libxml2; libxml2.parseFile("$<")'
@xmllint --noout $<
@if test ".$(CLEANUP)" == .yes; then xsltproc --novalid -o $< comps-cleanup.xsl $<; fi
./update-comps $@
@if [ "$@" == "$(RAWHIDECOMPS)" ] ; then \