X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Fpo-targets.make;h=ef8b1c5cae3b1c82a44d0518e6ea70cff5427843;hb=4091a5dfb41072b0a8b95500582febe15e0cdae9;hp=8919dab8239e69f0378a0d6071fc1d249f8bbff0;hpb=51d4e23ad19c445ca4037a98dee15c838da71c39;p=lilypond.git diff --git a/stepmake/stepmake/po-targets.make b/stepmake/stepmake/po-targets.make index 8919dab823..ef8b1c5cae 100644 --- a/stepmake/stepmake/po-targets.make +++ b/stepmake/stepmake/po-targets.make @@ -9,7 +9,7 @@ XGETTEXT_OPTIONS = \ --package-name=$(package) \ --package-version=$(VERSION) -sed-header = \# Translation of LilyPond\n\# Copyright \(C\) 1998--2012 Han-Wen Nienhuys, Jan Nieuwenhuizen.\n\# This file is distributed under the same license as the LilyPond package. +sed-header = \# Translation of LilyPond\n\# Copyright \(C\) 1998--2015 Han-Wen Nienhuys, Jan Nieuwenhuizen.\n\# This file is distributed under the same license as the LilyPond package. sed-content = "Content-Type: text\/plain; charset=UTF-8\\n" #### @@ -36,11 +36,11 @@ ifneq ($(strip $(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