X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=stepmake%2Fstepmake%2Fpo-targets.make;h=4221f8ed45363e2c3191bcc7ee69e56ab2ba99a3;hb=bb7cab2aa07a49db5d2e126e67b4e2e8ac8007d9;hp=f9307f8464c2334d2f4b592878a5acdfa9038648;hpb=a41bc3e06fca46daa875419b5dc00dd958e1fde0;p=lilypond.git diff --git a/stepmake/stepmake/po-targets.make b/stepmake/stepmake/po-targets.make index f9307f8464..4221f8ed45 100644 --- a/stepmake/stepmake/po-targets.make +++ b/stepmake/stepmake/po-targets.make @@ -17,13 +17,14 @@ localpo: else po: localpo $(LOOP) -ALL_PO_SOURCES = $(ALL_C_SOURCES) $(wildcard $(outdir)/*.hh) $(wildcard $(outdir)/*.cc) +ALL_PO_SOURCES = $(ALL_C_SOURCES) $(ALL_CC_SOURCES) $(PYTHON_SCRIPTS_IN) $(PY_MODULES_IN) $(SCM_FILES) $(wildcard $(outdir)/*.hh) $(wildcard $(outdir)/*.cc) localpo: ifneq ($(strip $(ALL_PO_SOURCES)),) @echo $(ALL_PO_SOURCES) - xgettext --c++ --default-domain=$(package) --join \ + xgettext --default-domain=$(package) --join \ --output-dir=$(po-dir)/$(outdir) --add-comments \ - --keyword=_ --keyword=_f $(ALL_PO_SOURCES) + --keyword=_ --keyword=_f --keyword=_i \ + $(XGETTEXT_FLAGS) $(ALL_PO_SOURCES) endif endif @@ -31,6 +32,8 @@ endif po-update: po $(MAKE) -C $(po-dir) po-update -show-po-changes: - $(MAKE) -C $(po-dir) show-po-changes +po-changes: + $(MAKE) -C $(po-dir) po-changes +po-replace: po + $(MAKE) -C $(po-dir) po-replace