From: fred Date: Fri, 21 Aug 1998 23:08:13 +0000 (+0000) Subject: lilypond-1.0.4 X-Git-Tag: release/1.5.59~5833 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6a5a29cad4cf304056cc42df72ae8dc314950277;p=lilypond.git lilypond-1.0.4 --- diff --git a/stepmake/stepmake/po-targets.make b/stepmake/stepmake/po-targets.make new file mode 100644 index 0000000000..f9307f8464 --- /dev/null +++ b/stepmake/stepmake/po-targets.make @@ -0,0 +1,36 @@ + + + +#### +#### UGH! +new-po: + if test -r $(po-dir); then \ + rm -f $(po-dir)/$(outdir)/$(package).po; \ + touch $(po-dir)/$(outdir)/$(package).po; \ + fi + +ifeq ($(strip $(depth)),.) +po: new-po + $(LOOP) +localpo: + @true +else +po: localpo + $(LOOP) +ALL_PO_SOURCES = $(ALL_C_SOURCES) $(wildcard $(outdir)/*.hh) $(wildcard $(outdir)/*.cc) +localpo: +ifneq ($(strip $(ALL_PO_SOURCES)),) + @echo $(ALL_PO_SOURCES) + xgettext --c++ --default-domain=$(package) --join \ + --output-dir=$(po-dir)/$(outdir) --add-comments \ + --keyword=_ --keyword=_f $(ALL_PO_SOURCES) +endif +endif + + +po-update: po + $(MAKE) -C $(po-dir) po-update + +show-po-changes: + $(MAKE) -C $(po-dir) show-po-changes + diff --git a/stepmake/stepmake/po-vars.make b/stepmake/stepmake/po-vars.make new file mode 100644 index 0000000000..e69de29bb2