]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/po-targets.make
Merge branch 'lilypond/translation' of /home/jcharles/GIT/Lily/ into lilypond/translation
[lilypond.git] / stepmake / stepmake / po-targets.make
index 071089bd636ee703073dacb30cc092bcee411abd..4221f8ed45363e2c3191bcc7ee69e56ab2ba99a3 100644 (file)
@@ -17,13 +17,14 @@ localpo:
 else
 po: localpo
        $(LOOP)
-ALL_PO_SOURCES = $(ALL_C_SOURCES) $(ALL_CC_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 --keyword=_i $(ALL_PO_SOURCES)
+        --keyword=_ --keyword=_f --keyword=_i \
+        $(XGETTEXT_FLAGS) $(ALL_PO_SOURCES)
 endif
 endif
 
@@ -35,4 +36,4 @@ po-changes:
        $(MAKE) -C $(po-dir) po-changes
 
 po-replace: po
-       $(MAKE) -C $(po-dir) po-replace
\ No newline at end of file
+       $(MAKE) -C $(po-dir) po-replace