aboutsummaryrefslogtreecommitdiff
path: root/gitk-git/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gitk-git/Makefile')
-rw-r--r--gitk-git/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/gitk-git/Makefile b/gitk-git/Makefile
index cc32dcab4b..41116d8a14 100644
--- a/gitk-git/Makefile
+++ b/gitk-git/Makefile
@@ -68,9 +68,12 @@ gitk-wish: gitk GIT-TCLTK-VARS
$(SHELL_PATH) ./generate-tcl.sh "$(TCLTK_PATH_SQ)" "$<" "$@"
$(PO_TEMPLATE): gitk
- $(XGETTEXT) -kmc -LTcl -o $@ gitk
+ $(XGETTEXT) -kmc -LTcl --package-name=Gitk -o $@ gitk
update-po:: $(PO_TEMPLATE)
- $(foreach p, $(ALL_POFILES), echo Updating $p ; msgmerge -U $p $(PO_TEMPLATE) ; )
+ $(foreach p, $(ALL_POFILES), echo Updating $p ; msgmerge -U --add-location $p $(PO_TEMPLATE) ; )
+ @echo "Before committing changes, ensure that a clean-filter is installed:"; \
+ echo; \
+ echo " git config filter.gettext-no-location.clean \"msgcat --no-location -\""
$(ALL_MSGFILES): %.msg : %.po
@echo Generating catalog $@
$(MSGFMT) --statistics --tcl -l $(basename $(notdir $<)) -d $(dir $@) $<