]>
Commit | Line | Data |
---|---|---|
b80f6443 JA |
1 | # |
2 | # Update the strings from the builtins' long docs. Must be called when | |
3 | # bash.pot exists, in the middle of the bash.pot-update recipe | |
4 | # | |
5 | builtins.pot-update: $(top_builddir)/builtins/builtins.c | |
6 | $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_builddir)/builtins \ | |
7 | $(XGETTEXT_OPTIONS) --omit-header \ | |
8 | --copyright-holder='$(COPYRIGHT_HOLDER)' \ | |
9 | --join-existing \ | |
10 | builtins.c | |
11 | ||
12 | # This rule has no dependencies: we don't need to update builtins.pot at | |
13 | # every "make" invocation, only create it when it is missing. | |
14 | # Only "make builtins.pot-update" or "make dist" will force an update. | |
15 | $(srcdir)/builtins.pot: | |
16 | $(MAKE) builtins.pot-update | |
17 | ||
18 | xdist: | |
19 | $(MAKE) update-po |