]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.0.4
authorfred <fred>
Fri, 21 Aug 1998 23:08:13 +0000 (23:08 +0000)
committerfred <fred>
Fri, 21 Aug 1998 23:08:13 +0000 (23:08 +0000)
stepmake/stepmake/po-targets.make [new file with mode: 0644]
stepmake/stepmake/po-vars.make [new file with mode: 0644]

diff --git a/stepmake/stepmake/po-targets.make b/stepmake/stepmake/po-targets.make
new file mode 100644 (file)
index 0000000..f9307f8
--- /dev/null
@@ -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 (file)
index 0000000..e69de29