[yelp-tools] yelp.m4: Add HELP_POT variable to specify pot name
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-tools] yelp.m4: Add HELP_POT variable to specify pot name
- Date: Wed, 31 Aug 2011 16:25:42 +0000 (UTC)
commit 536e2d082f933635cae234bbc598a48aebf4d2c9
Author: Michael Terry <michael terry canonical com>
Date: Tue Jun 28 07:52:29 2011 -0400
yelp.m4: Add HELP_POT variable to specify pot name
https://bugzilla.gnome.org/show_bug.cgi?id=653566
tools/yelp.m4 | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tools/yelp.m4 b/tools/yelp.m4
index b31f02d..029c713 100644
--- a/tools/yelp.m4
+++ b/tools/yelp.m4
@@ -25,13 +25,14 @@ fi
YELP_HELP_RULES='
HELP_ID ?=
+HELP_POT ?=
HELP_FILES ?=
HELP_EXTRA ?=
HELP_MEDIA ?=
HELP_LINGUAS ?=
_HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS))
-_HELP_POTFILE = $(if $(HELP_ID),$(HELP_ID).pot)
+_HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot))
_HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po))
_HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES))
_HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]