[gimp/gimp-2-10] Issue #6852: Don't include gimp30-tips.mo in binary package
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] Issue #6852: Don't include gimp30-tips.mo in binary package
- Date: Tue, 11 May 2021 12:39:08 +0000 (UTC)
commit af76c091cb5ff34c827e929852c68d36c661b924
Author: Jehan <jehan girinstud io>
Date: Tue May 11 14:36:55 2021 +0200
Issue #6852: Don't include gimp30-tips.mo in binary package
Similar to previous plug-in but only for autotools. Separated in its own
commit for easy cherry-picking to `gimp-2-10` branch.
(cherry picked from commit a4a6ac59e0720ac0ad7f2e224d0b358dc5999d64)
po-tips/Makefile.in.in | 38 +++-----------------------------------
1 file changed, 3 insertions(+), 35 deletions(-)
---
diff --git a/po-tips/Makefile.in.in b/po-tips/Makefile.in.in
index e90402873e..286092cf45 100644
--- a/po-tips/Makefile.in.in
+++ b/po-tips/Makefile.in.in
@@ -99,37 +99,10 @@ all-no:
$(GETTEXT_PACKAGE).pot: $(POTFILES)
$(GENPOT)
+# XXX: we don't install these locale files because they are only used at
+# build-time to construct gimp-tips.xml (see #6852).
install: install-data
-install-data: install-data-@USE_NLS@
-install-data-no: all
-install-data-yes: all
- $(mkdir_p) $(DESTDIR)$(itlocaledir)
- linguas="$(USE_LINGUAS)"; \
- for lang in $$linguas; do \
- dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
- $(mkdir_p) $$dir; \
- if test -r $$lang.gmo; then \
- $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
- echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \
- else \
- $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
- echo "installing $(srcdir)/$$lang.gmo as" \
- "$$dir/$(GETTEXT_PACKAGE).mo"; \
- fi; \
- if test -r $$lang.gmo.m; then \
- $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \
- echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \
- else \
- if test -r $(srcdir)/$$lang.gmo.m ; then \
- $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \
- $$dir/$(GETTEXT_PACKAGE).mo.m; \
- echo "installing $(srcdir)/$$lang.gmo.m as" \
- "$$dir/$(GETTEXT_PACKAGE).mo.m"; \
- else \
- true; \
- fi; \
- fi; \
- done
+install-data:
# Empty stubs to satisfy archaic automake needs
dvi info tags TAGS ID:
@@ -138,11 +111,6 @@ dvi info tags TAGS ID:
install-exec installcheck:
uninstall:
- linguas="$(USE_LINGUAS)"; \
- for lang in $$linguas; do \
- rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
- rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
- done
check: all $(GETTEXT_PACKAGE).pot
rm -f missing notexist
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]