aboutsummaryrefslogtreecommitdiff
path: root/share/msgdef
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-10-13 19:44:36 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-10-13 19:44:36 +0000
commitbecbad1f6e18fec7c3bf286778a766ffca4457be (patch)
treee5218cae2f48913719be46210d8d92085cb2511f /share/msgdef
parent23a32822d2a98273412f5b7d5e4b0ea925d637a0 (diff)
parentb0c041f88747fad7ef1680da932748352efbf77e (diff)
Notes
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 29ce821a0618..14c467ca1298 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>