]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/po-targets.make
Imported Upstream version 2.18.0
[lilypond.git] / stepmake / stepmake / po-targets.make
index c971e513c034b8dcc6e45ef4ae05db00ea33370c..8a0dd76053f51e8a7ef98f4e9b289a7e24c45218 100644 (file)
@@ -29,18 +29,18 @@ local-po:
 else
 po: local-po
        $(LOOP)
-ALL_PO_SOURCES = $(ALL_C_SOURCES) $(ALL_CC_SOURCES) $(PYTHON_SCRIPTS_IN) $(PY_MODULES_IN) $(SCM_FILES) $(wildcard $(outdir)/*.hh) $(wildcard $(outdir)/*.cc)
+ALL_PO_SOURCES = $(ALL_C_SOURCES) $(ALL_CC_SOURCES) $(PYTHON_SCRIPTS_IN) $(PY_MODULES_IN) $(SCM_FILES)
 local-po:
 ifneq ($(strip $(ALL_PO_SOURCES)),)
        @echo $(ALL_PO_SOURCES)
        xgettext $(XGETTEXT_OPTIONS) --output-dir=$(po-outdir) \
         --keyword=_ --keyword=_f --keyword=_i \
         $(XGETTEXT_FLAGS) $(ALL_PO_SOURCES)
-endif
 endif
        sed -i '1,2d' $(po-outdir)/$(package).po
        sed -i -e 's/^\# This file is distributed.*/$(sed-header)/' $(po-outdir)/$(package).po
        sed -i -e 's/^\"Content-Type: text\/plain.*/$(sed-content)/' $(po-outdir)/$(package).po
+endif
 
 
 po-update: po