From 6a5a29cad4cf304056cc42df72ae8dc314950277 Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 21 Aug 1998 23:08:13 +0000 Subject: [PATCH] lilypond-1.0.4 --- stepmake/stepmake/po-targets.make | 36 +++++++++++++++++++++++++++++++ stepmake/stepmake/po-vars.make | 0 2 files changed, 36 insertions(+) create mode 100644 stepmake/stepmake/po-targets.make create mode 100644 stepmake/stepmake/po-vars.make 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 -- 2.39.5