summaryrefslogtreecommitdiff
path: root/MakeTAGS
diff options
context:
space:
mode:
Diffstat (limited to 'MakeTAGS')
-rw-r--r--MakeTAGS8
1 files changed, 6 insertions, 2 deletions
diff --git a/MakeTAGS b/MakeTAGS
index fff024173b..1a32d6d480 100644
--- a/MakeTAGS
+++ b/MakeTAGS
@@ -133,15 +133,19 @@ endif
define extract
@rm -f $@.new
$(XGETTEXT) --keyword=_ --keyword=N_ --sort-output -d - \
- > $@.new /dev/null $^
+ $(XGETTEXTFLAGS-$(@F)) > $@.new /dev/null $^
mv -f $@.new $@
endef
$P/$(domain).pot: $(tags_sources); $(extract)
-$P/siglist.pot: $(..)sysdeps/generic/signame.c; $(extract)
+$P/siglist.pot: $(common-objpfx)siglist.c; $(extract)
$P/errlist.pot: $(..)sysdeps/mach/hurd/errlist.c; $(extract)
+# Extract all strings from these files; their strings are not marked.
+XGETTEXTFLAGS-siglist.pot = -a
+XGETTEXTFLAGS-errlist.pot = -a
+
all-pot = $P/libc-top.pot $(subdirs:%=$P/%.pot) \
$P/siglist.pot $P/errlist.pot