Allow to generate the locale when the source directory is not /usr/src
This commit is contained in:
parent
71463bf550
commit
30b3fca790
@ -41,15 +41,15 @@ install:
|
||||
.for t in ${TYPES}
|
||||
. if ${KNOWN:M${t}}
|
||||
rm -rf ${.CURDIR}/${t}.draft
|
||||
rm -rf ${DESTDIR}/usr/src/share/${t}
|
||||
mv ${.CURDIR}/${t} ${DESTDIR}/usr/src/share/
|
||||
rm -rf ${.CURDIR}/../../../share/${t}
|
||||
mv ${.CURDIR}/${t} ${.CURDIR}/../../../share/${t}
|
||||
. endif
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
.for t in ${TYPES}
|
||||
. if ${KNOWN:M${t}}
|
||||
(cd ${DESTDIR}/usr/src/share/${t} && \
|
||||
(cd ${.CURDIR}/../../../share/${t} && \
|
||||
make && make install && make clean)
|
||||
. endif
|
||||
.endfor
|
||||
|
Loading…
Reference in New Issue
Block a user