Only remove empty directories before packaging.
This preserves files are intentionally empty, most of them are in tests.txz Reviewed by: bdrewery MFC after: 3 days
This commit is contained in:
parent
c870956d72
commit
14009f5e90
@ -1013,7 +1013,7 @@ distributeworld installworld stageworld: _installcheck_world .PHONY
|
||||
${IMAKEENV} rm -rf ${INSTALLTMP}
|
||||
.if make(distributeworld)
|
||||
.for dist in ${EXTRA_DISTRIBUTIONS}
|
||||
find ${DESTDIR}/${DISTDIR}/${dist} -mindepth 1 -empty -delete
|
||||
find ${DESTDIR}/${DISTDIR}/${dist} -mindepth 1 -type d -empty -delete
|
||||
.endfor
|
||||
.if defined(NO_ROOT)
|
||||
.for dist in base ${EXTRA_DISTRIBUTIONS}
|
||||
|
Loading…
Reference in New Issue
Block a user