Mk: Don't generate an empty apply-slist target.

This commit is contained in:
Mathieu Arnold 2021-04-13 12:54:28 +02:00
parent 85737aec4a
commit c4ee3f24d2
No known key found for this signature in database
GPG key ID: 29EB0902911D7E02

View file

@ -4513,9 +4513,8 @@ pretty-print-run-depends-list:
.endif
_SUB_LIST_TEMP= ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/}
.if !target(apply-slist)
.if !target(apply-slist) && defined(SUB_FILES)
apply-slist:
.if defined(SUB_FILES)
.for file in ${SUB_FILES}
.if !exists(${FILESDIR}/${file}.in)
@${ECHO_MSG} "** Missing ${FILESDIR}/${file}.in for ${PKGNAME}."; exit 1
@ -4529,7 +4528,6 @@ ${i:S/-//:tu}= ${WRKDIR}/${SUB_FILES:M${i}*}
.endif
.endfor
.endif
.endif
# Generate packing list. Also tests to make sure all required package
# files exist.