Date: Fri, 7 Sep 2012 21:34:03 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r303830 - head/security/vuxml Message-ID: <201209072134.q87LY3An066818@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Fri Sep 7 21:34:03 2012 New Revision: 303830 URL: http://svn.freebsd.org/changeset/ports/303830 Log: 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) Modified: head/security/vuxml/Makefile Modified: head/security/vuxml/Makefile ============================================================================== --- head/security/vuxml/Makefile Fri Sep 7 21:11:32 2012 (r303829) +++ head/security/vuxml/Makefile Fri Sep 7 21:34:03 2012 (r303830) @@ -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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209072134.q87LY3An066818>