Makefile: Warn if policy.xml xmllint check does not run.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
This commit is contained in:
parent
ecfaae80de
commit
9ee2a6d42e
|
@ -49,6 +49,7 @@ addons:
|
|||
- libbz2-dev
|
||||
- libpcre3-dev
|
||||
- swig
|
||||
- libxml2-utils
|
||||
|
||||
before_install:
|
||||
- lsb_release -a
|
||||
|
|
2
Makefile
2
Makefile
|
@ -442,6 +442,8 @@ $(polxml): $(layerxml) $(tunxml) $(boolxml)
|
|||
$(verbose) echo '</policy>' >> $@
|
||||
$(verbose) if test -x $(XMLLINT) && test -f $(xmldtd); then \
|
||||
$(XMLLINT) --noout --path $(dir $(xmldtd)) --dtdvalid $(xmldtd) $@ ;\
|
||||
else \
|
||||
echo "$@ XML validation not run. Please install the xmllint tool." ;\
|
||||
fi
|
||||
|
||||
xml: $(polxml)
|
||||
|
|
Loading…
Reference in New Issue