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:
parent
a7bfa5c0df
commit
f7abece0cb
2
Makefile
2
Makefile
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user