summaryrefslogtreecommitdiffstats
path: root/share/msgdef
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-10-13 19:44:36 +0000
committerbapt <bapt@FreeBSD.org>2015-10-13 19:44:36 +0000
commitc8d6d4a78596005d50c30c7ab4f623a601ef0b39 (patch)
treee5218cae2f48913719be46210d8d92085cb2511f /share/msgdef
parent2a77c3b71d27973d4ffac086902715be69266202 (diff)
parent384c892651c52e57063356328dfcd28914bc4b15 (diff)
downloadFreeBSD-src-c8d6d4a78596005d50c30c7ab4f623a601ef0b39.zip
FreeBSD-src-c8d6d4a78596005d50c30c7ab4f623a601ef0b39.tar.gz
Merge from head
Diffstat (limited to 'share/msgdef')
-rw-r--r--share/msgdef/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/msgdef/Makefile b/share/msgdef/Makefile
index 29ce821..14c467c 100644
--- a/share/msgdef/Makefile
+++ b/share/msgdef/Makefile
@@ -209,4 +209,11 @@ SYMLINKS+= ../${f:C/:.*$//}/${FILESNAME} ${LOCALEDIR}/${f:C/^.*://}
FILESDIR_${f}.out= ${LOCALEDIR}/${f}
.endfor
+beforeinstall:
+.for locale in ${LOCALES}
+.if exists(${DESTDIR}${LOCALEDIR}/${locale}/LC_MESSAGES/)
+ rm -rf ${DESTDIR}${LOCALEDIR}/${locale}/LC_MESSAGES
+.endif
+.endfor
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud