diff options
author | bapt <bapt@FreeBSD.org> | 2015-11-15 14:19:08 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-11-15 14:19:08 +0000 |
commit | 17da2ce1fd2f89abcdb69da779f48a24ef533e8c (patch) | |
tree | aa561d7cae7ee2bd2bcd9d2e2a397f92050759bf | |
parent | edd8248f0d59a2e51f50d3f312b5c303e2279710 (diff) | |
download | FreeBSD-src-17da2ce1fd2f89abcdb69da779f48a24ef533e8c.zip FreeBSD-src-17da2ce1fd2f89abcdb69da779f48a24ef533e8c.tar.gz |
Allow to generate the locale when the source directory is not /usr/src
-rw-r--r-- | tools/tools/locale/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/tools/locale/Makefile b/tools/tools/locale/Makefile index d54167c..2b5aa55 100644 --- a/tools/tools/locale/Makefile +++ b/tools/tools/locale/Makefile @@ -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 |