From: Jan Tulak Date: Mon, 3 Aug 2015 00:06:21 +0000 (+1000) Subject: xfsprogs: Don't Make .po files with gettext disabled X-Git-Tag: v4.2.0-rc1~2^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd30c0ae911082214e202dc3d562daf7eed3161b;p=thirdparty%2Fxfsprogs-dev.git xfsprogs: Don't Make .po files with gettext disabled "po" target is added only if gettext binary is found. Without this patch, Make tried to build the target even with --enable-gettext=no configure option, which led to a failing build. Signed-off-by: Jan Tulak Reviewed-by: Christoph Hellwig Signed-off-by: Dave Chinner --- diff --git a/Makefile b/Makefile index 61a05b2e1..4b6439be3 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,11 @@ HDR_SUBDIRS = include libxfs DLIB_SUBDIRS = libxlog libxcmd libhandle LIB_SUBDIRS = libxfs $(DLIB_SUBDIRS) TOOL_SUBDIRS = copy db estimate fsck fsr growfs io logprint mkfs quota \ - mdrestore repair rtcp m4 man doc po debian + mdrestore repair rtcp m4 man doc debian + +ifneq ("$(XGETTEXT)","") +TOOL_SUBDIRS += po +endif # include is listed last so it is processed last in clean rules. SUBDIRS = $(LIB_SUBDIRS) $(TOOL_SUBDIRS) include