summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-04-23 06:15:44 +0000
committerru <ru@FreeBSD.org>2002-04-23 06:15:44 +0000
commit8155a4130cbbf932c7863f6bb99c77816b574664 (patch)
tree6e1efcd2050b285026a453c7afae8f5685000254 /share/mk
parent084de53dc72acb691312b29b1435cb119d9354c7 (diff)
downloadFreeBSD-src-8155a4130cbbf932c7863f6bb99c77816b574664.zip
FreeBSD-src-8155a4130cbbf932c7863f6bb99c77816b574664.tar.gz
Provide the real `distribute' target so that NLS catalogs are
installed with `make release'.
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.nls.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/mk/bsd.nls.mk b/share/mk/bsd.nls.mk
index 6d91d0b..76da8e1 100644
--- a/share/mk/bsd.nls.mk
+++ b/share/mk/bsd.nls.mk
@@ -125,8 +125,12 @@ all-man: _SUBDIR
maninstall: _SUBDIR
.endif
+DISTRIBUTION?= bin
.if !target(distribute)
distribute:
+.for dist in ${DISTRIBUTION}
+ cd ${.CURDIR}; $(MAKE) install DESTDIR=${DISTDIR}/${dist} SHARED=copies
+.endfor
.endif
.if !target(beforeinstall)
OpenPOWER on IntegriCloud