mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-12-27 09:58:08 +01:00
31 lines
1.6 KiB
Diff
31 lines
1.6 KiB
Diff
--- po/Makefile.in.in 2013-01-06 17:32:47.328960440 +0100
|
|
+++ po/Makefile.in.in.new 2013-01-06 17:34:22.641893986 +0100
|
|
@@ -135,6 +135,11 @@
|
|
# otherwise packages like GCC can not be built if only parts of the source
|
|
# have been downloaded.
|
|
|
|
+# XXX: hack: since we want to parse generated files with xgettext,
|
|
+# do not complain if these files are not found in the source tree,
|
|
+# because they will be found in the build tree
|
|
+$(POTFILES):
|
|
+
|
|
# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
|
|
# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
|
|
$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
|
|
@@ -150,14 +155,14 @@
|
|
fi; \
|
|
case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
|
|
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
|
|
- $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
|
|
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_builddir) --directory=$(top_srcdir) \
|
|
--add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
|
|
--files-from=$(srcdir)/POTFILES.in \
|
|
--copyright-holder='$(COPYRIGHT_HOLDER)' \
|
|
--msgid-bugs-address="$$msgid_bugs_address" \
|
|
;; \
|
|
*) \
|
|
- $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
|
|
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_builddir) --directory=$(top_srcdir) \
|
|
--add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
|
|
--files-from=$(srcdir)/POTFILES.in \
|
|
--copyright-holder='$(COPYRIGHT_HOLDER)' \
|