| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH v2 2/4] xfsprogs: Don't Make .po files with gettext disabled |
| From: | Jan Tulak <jtulak@xxxxxxxxxx> |
| Date: | Mon, 20 Jul 2015 14:56:56 +0200 |
| Cc: | david@xxxxxxxxxxxxx, Jan Tulak <jtulak@xxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1437397018-12864-1-git-send-email-jtulak@xxxxxxxxxx> |
| References: | <1437397018-12864-1-git-send-email-jtulak@xxxxxxxxxx> |
"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 <jtulak@xxxxxxxxxx>
---
Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 6d6803b..3da4d5d 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,11 @@ HDR_SUBDIRS = include libxfs
DLIB_SUBDIRS = libxlog libxcmd libhandle libdisk
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
--
2.4.3
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH v2 1/4] xfsprogs: Prefix LIST_... macros to XFS_LIST_..., Jan Tulak |
|---|---|
| Next by Date: | [PATCH v2 4/4] xfsprogs: OS X partial support, Jan Tulak |
| Previous by Thread: | [PATCH v2 1/4] xfsprogs: Prefix LIST_... macros to XFS_LIST_..., Jan Tulak |
| Next by Thread: | Re: [PATCH v2 2/4] xfsprogs: Don't Make .po files with gettext disabled, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |