diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-10-13 19:44:36 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-10-13 19:44:36 +0000 |
| commit | becbad1f6e18fec7c3bf286778a766ffca4457be (patch) | |
| tree | e5218cae2f48913719be46210d8d92085cb2511f /share/msgdef | |
| parent | 23a32822d2a98273412f5b7d5e4b0ea925d637a0 (diff) | |
| parent | b0c041f88747fad7ef1680da932748352efbf77e (diff) | |
Notes
Diffstat (limited to 'share/msgdef')
| -rw-r--r-- | share/msgdef/Makefile | 7 |
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> |
