salt-docs: Skip legitimate hardcoded paths.

This commit is contained in:
jperkin 2019-12-09 16:52:51 +00:00
parent 3a1100de71
commit b4a0ad227e

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.24 2019/11/13 14:47:59 adam Exp $
# $NetBSD: Makefile,v 1.25 2019/12/09 16:52:51 jperkin Exp $
DISTNAME= salt-2019.2.2
PKGNAME= ${DISTNAME:S/-/-docs-/}
@ -27,6 +27,10 @@ INSTALLATION_DIRS= ${HTMLDIR}
PYTHON_VERSIONS_ACCEPTED= 27
# Contains hardcoded paths that may refer to paths used during the build, for
# example /opt/tools on SmartOS.
CHECK_WRKREF_SKIP+= */*.html */*.txt
do-install:
cd ${WRKSRC}/doc/_build/html && ${PAX} -rw -pp . ${DESTDIR}${PREFIX}/${HTMLDIR}
cd ${DESTDIR}${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}