summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1999-09-11 19:56:05 +0000
committerache <ache@FreeBSD.org>1999-09-11 19:56:05 +0000
commitf237fc6e74d7748c370c737e13741dac57ec6d5d (patch)
tree036592317780a294e7f2dd335dd49dbdf552b3b5 /gnu
parent109723063178720e09f64596cc4d01e4ce362452 (diff)
downloadFreeBSD-src-f237fc6e74d7748c370c737e13741dac57ec6d5d.zip
FreeBSD-src-f237fc6e74d7748c370c737e13741dac57ec6d5d.tar.gz
install localized files
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/groff/tmac/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/groff/tmac/Makefile b/gnu/usr.bin/groff/tmac/Makefile
index bb50089..7118543 100644
--- a/gnu/usr.bin/groff/tmac/Makefile
+++ b/gnu/usr.bin/groff/tmac/Makefile
@@ -7,6 +7,7 @@ TMACGRP?= ${BINGRP}
TMACMODE?= ${NOBINMODE}
TMACDIR?= /usr/share/tmac
MDOCDIR?= ${TMACDIR}/mdoc
+LOCALEDIR?= ${TMACDIR}/locale
MAN7= groff_ms.7 me.7 msafer.7
MLINKS= groff_ms.7 ms.7 me.7 groff_me.7 msafer.7 groff_msafer.7
@@ -20,6 +21,7 @@ FILES= tmac.andoc tmac.pic tmac.ps tmac.psnew tmac.psold\
troffrc
STRIPFILES= tmac.e tmac.s tmac.doc
MDOCFILES= doc-common doc-ditroff doc-nroff doc-syms
+LOCALEFILES= locale-list koi8-r
all: ${MDOCFILES} ${STRIPFILES} tmac.groff_an
@@ -39,6 +41,9 @@ beforeinstall:
cd ${DIST_DIR}; \
${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
${FILES} ${DESTDIR}${TMACDIR}
+ cd ${DIST_DIR}/locale; \
+ ${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
+ ${LOCALEFILES} ${DESTDIR}${LOCALEDIR}
.if !exists(${DESTDIR}${TMACDIR}/man.local)
${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
${DIST_DIR}/man.local ${DESTDIR}${TMACDIR}
OpenPOWER on IntegriCloud