diff options
| author | kleink <kleink@NetBSD.org> | 1999-05-31 14:21:11 +0000 |
|---|---|---|
| committer | kleink <kleink@NetBSD.org> | 1999-05-31 14:21:11 +0000 |
| commit | 6fa8a106450fe46b236f822108ad159dabdf362e (patch) | |
| tree | 617165ddb48fe6841dabf610d2d9470765c9d077 /gnu | |
| parent | 17268da658b19dba4746bde3de55b50b420bff81 (diff) | |
Wrap message catalog installation inside MKNLS check.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/usr.bin/grep/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.bin/grep/Makefile b/gnu/usr.bin/grep/Makefile index 4106f3349bd..568c92878c6 100644 --- a/gnu/usr.bin/grep/Makefile +++ b/gnu/usr.bin/grep/Makefile @@ -1,4 +1,6 @@ -# $NetBSD: Makefile,v 1.12 1999/04/24 17:40:33 dbj Exp $ +# $NetBSD: Makefile,v 1.13 1999/05/31 14:21:11 kleink Exp $ + +.include <bsd.own.mk> PROG= grep SRCS= bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c \ @@ -16,12 +18,14 @@ CPPFLAGS+= -I${DIST}/grep/src -I${DIST}/grep/intl -I${.CURDIR} \ -DLOCALE_ALIAS_PATH=\"/usr/share/locale:.\" \ -DLOCALEDIR=\"/usr/share/locale\" +.if ${MKNLS} != "no" .for F in de.gmo el.gmo es.gmo fr.gmo ko.gmo nl.gmo no.gmo pl.gmo ru.gmo \ sl.gmo sv.gmo FILES+= ${F} FILESDIR_${F}= /usr/share/locale/${F:.gmo=}/LC_MESSAGES FILESNAME_${F}= grep.mo .endfor +.endif TEXINFO= grep.texi INFOFLAGS= -I${.CURDIR}/../../dist/grep/doc |
