mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
Add a sanity check to ensure vuxml is actually installed prior to performing
the tidy step in validate. This step actually requires just the dependancies but the full validate requires that vuxml be installed. Reviewed by: simon Approved by: secteam (implicit)
This commit is contained in:
parent
d5df9881cb
commit
26ceb56d8b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303830
@ -86,6 +86,11 @@ validate: tidy
|
||||
fi
|
||||
|
||||
tidy: vuln.xml
|
||||
@if [ ! -e ${LOCALBASE}/share/xml/dtd/vuxml/catalog.xml ]; \
|
||||
then \
|
||||
echo "Please install the VuXML port prior to running make validate/tidy."; \
|
||||
exit 1; \
|
||||
fi
|
||||
${SH} ${FILESDIR}/tidy.sh "${FILESDIR}/tidy.xsl" "${VUXML_FILE}" > "${VUXML_FILE}.tidy"
|
||||
|
||||
newentry:
|
||||
|
Loading…
Reference in New Issue
Block a user