summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.prog.mk
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-07-02 12:37:09 +0000
committerru <ru@FreeBSD.org>2002-07-02 12:37:09 +0000
commit5179f05e3398169a25ab709a7f6ba906212bfd68 (patch)
tree91ad217324f8e79373a55d46b03690c4339c7ea5 /share/mk/bsd.prog.mk
parent038386078dfe384615c466ae7a32b271e5e0751f (diff)
downloadFreeBSD-src-5179f05e3398169a25ab709a7f6ba906212bfd68.zip
FreeBSD-src-5179f05e3398169a25ab709a7f6ba906212bfd68.tar.gz
Reimplemented bsd.nls.mk using bsd.files.mk and bsd.links.mk.
Provided the (previously missing) dependency on source files for intermediate .msg files. Provided the default for NLSSRCDIR (defaults to .CURDIR). Slightly changed the API: NLS should now list plain locale names, without the .msg suffix. When included from bsd.prog.mk, NLSNAME defaults to PROG.
Diffstat (limited to 'share/mk/bsd.prog.mk')
-rw-r--r--share/mk/bsd.prog.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index ad44f1a..c8dde88 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -145,6 +145,9 @@ _SCRIPTSINS_${script:T}: ${script}
.endfor
.endif
+NLSNAME?= ${PROG}
+.include <bsd.nls.mk>
+
.include <bsd.files.mk>
.include <bsd.incs.mk>
.include <bsd.links.mk>
OpenPOWER on IntegriCloud