diff options
author | jilles <jilles@FreeBSD.org> | 2013-06-05 22:27:49 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2013-06-05 22:27:49 +0000 |
commit | 67e543ecf12264293093fba3bc1e364c44ff90ec (patch) | |
tree | e4be10a5a3df060701b08bad13fc68896aa902ce /Makefile.inc1 | |
parent | aa6dbdbade62d686e09845d5f04d32f31820bc9f (diff) | |
download | FreeBSD-src-67e543ecf12264293093fba3bc1e364c44ff90ec.zip FreeBSD-src-67e543ecf12264293093fba3bc1e364c44ff90ec.tar.gz |
release: Allow empty extra distributions.
For example, WITHOUT_SHAREDOCS= in src.conf creates an empty doc
distribution.
Submitted by: Kurt Lidl
Tested by: Kurt Lidl
Discussed with: gjb
MFC after: 1 week
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 2574e4d..f09aa97 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -798,7 +798,7 @@ distributeworld installworld: installcheck installcheck_UGID ${IMAKEENV} rm -rf ${INSTALLTMP} .if make(distributeworld) .for dist in ${EXTRA_DISTRIBUTIONS} - find ${DESTDIR}/${DISTDIR}/${dist} -empty -delete + find ${DESTDIR}/${DISTDIR}/${dist} -mindepth 1 -empty -delete .endfor .if defined(NO_ROOT) .for dist in base ${EXTRA_DISTRIBUTIONS} |