diff options
author | brd <brd@FreeBSD.org> | 2015-11-13 17:25:20 +0000 |
---|---|---|
committer | brd <brd@FreeBSD.org> | 2015-11-13 17:25:20 +0000 |
commit | a4248f47d3d13ab8bffcb5d90e3e226d52dba890 (patch) | |
tree | f3ca7bc6f70a5d2a7ca5a71c26357128d7aa186b /etc/Makefile | |
parent | d1d31f85b224ca77a110eecc03a3bf1f1e63c91f (diff) | |
download | FreeBSD-src-a4248f47d3d13ab8bffcb5d90e3e226d52dba890.zip FreeBSD-src-a4248f47d3d13ab8bffcb5d90e3e226d52dba890.tar.gz |
Fix a few files that where being incorrectly installed as one file. This was caused by the nvi upgrade fallout in r281994. So add the missing directories back to the mtree and add distrib-cleanup target to retroactively remove the files that should have been directories.
Reviewed by: bdrewery
Approved by: bdrewery
Diffstat (limited to 'etc/Makefile')
-rw-r--r-- | etc/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile index 7340a35..de9038f 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -365,7 +365,19 @@ MTREES+= mtree/BSD.sendmail.dist / MTREES+= ../${mtree} / .endfor -distrib-dirs: ${MTREES:N/*} +# Clean up some directories that where mistakenly created as files that +# should not have been as part of the nvi update in r281994. +# This should be removed after 11.0-RELEASE. +DISTRIB_CLEANUP_SHARE_FILES= ${SHAREDIR}/doc/usd/10.exref ${SHAREDIR}/doc/usd/11.edit +DISTRIB_CLEANUP_SHARE_FILES+= ${SHAREDIR}/doc/usd/12.vi ${SHAREDIR}/doc/usd/13.viref +distrib-cleanup: .PHONY + for file in ${DISTRIB_CLEANUP_SHARE_FILES}; do \ + if [ -f ${DESTDIR}/$${file} ]; then \ + rm -f ${DESTDIR}/$${file}; \ + fi; \ + done + +distrib-dirs: ${MTREES:N/*} distrib-cleanup .PHONY @set ${MTREES}; \ while test $$# -ge 2; do \ m=${.CURDIR}/$$1; \ |