From: Bruno Haible Date: Tue, 23 Oct 2018 22:28:21 +0000 (+0200) Subject: examples: Don't create unnecessary installation directories. X-Git-Tag: v0.20~296 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaaae89e17af8ebe7042ec58582f56a045c9f66d;p=thirdparty%2Fgettext.git examples: Don't create unnecessary installation directories. This mirrors the Makefile.in.in change from 2009-06-09. Reported by Serge Pavlovsky . * gettext-tools/examples/hello-*/po/Makefile.am (install-data-local-yes, installdirs-local-yes): Remove unnecessary MKDIR_P invocations. --- diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/Makefile.am b/gettext-tools/examples/hello-c++-wxwidgets/po/Makefile.am index 1850bfaad..7b7e84356 100644 --- a/gettext-tools/examples/hello-c++-wxwidgets/po/Makefile.am +++ b/gettext-tools/examples/hello-c++-wxwidgets/po/Makefile.am @@ -201,7 +201,6 @@ $(POFILES): $(srcdir)/$(DOMAIN).pot install-data-local: install-data-local-@USE_NLS@ install-data-local-no: all-local install-data-local-yes: all-local - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ @@ -244,7 +243,6 @@ install-data-local-yes: all-local installdirs-local: installdirs-local-@USE_NLS@ installdirs-local-no: installdirs-local-yes: - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ diff --git a/gettext-tools/examples/hello-clisp/po/Makefile.am b/gettext-tools/examples/hello-clisp/po/Makefile.am index f993e1154..cf4f69c4c 100644 --- a/gettext-tools/examples/hello-clisp/po/Makefile.am +++ b/gettext-tools/examples/hello-clisp/po/Makefile.am @@ -195,7 +195,6 @@ $(POFILES): $(srcdir)/$(DOMAIN).pot install-data-local: install-data-local-@USE_NLS@ install-data-local-no: all-local install-data-local-yes: all-local - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ @@ -238,7 +237,6 @@ install-data-local-yes: all-local installdirs-local: installdirs-local-@USE_NLS@ installdirs-local-no: installdirs-local-yes: - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ diff --git a/gettext-tools/examples/hello-gawk/po/Makefile.am b/gettext-tools/examples/hello-gawk/po/Makefile.am index 2854c2cb6..9616ee86e 100644 --- a/gettext-tools/examples/hello-gawk/po/Makefile.am +++ b/gettext-tools/examples/hello-gawk/po/Makefile.am @@ -195,7 +195,6 @@ $(POFILES): $(srcdir)/$(DOMAIN).pot install-data-local: install-data-local-@USE_NLS@ install-data-local-no: all-local install-data-local-yes: all-local - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ @@ -238,7 +237,6 @@ install-data-local-yes: all-local installdirs-local: installdirs-local-@USE_NLS@ installdirs-local-no: installdirs-local-yes: - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ diff --git a/gettext-tools/examples/hello-guile/po/Makefile.am b/gettext-tools/examples/hello-guile/po/Makefile.am index a7e267a7e..8700f6084 100644 --- a/gettext-tools/examples/hello-guile/po/Makefile.am +++ b/gettext-tools/examples/hello-guile/po/Makefile.am @@ -195,7 +195,6 @@ $(POFILES): $(srcdir)/$(DOMAIN).pot install-data-local: install-data-local-@USE_NLS@ install-data-local-no: all-local install-data-local-yes: all-local - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ @@ -238,7 +237,6 @@ install-data-local-yes: all-local installdirs-local: installdirs-local-@USE_NLS@ installdirs-local-no: installdirs-local-yes: - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ diff --git a/gettext-tools/examples/hello-librep/po/Makefile.am b/gettext-tools/examples/hello-librep/po/Makefile.am index b7864b163..a20b3c75f 100644 --- a/gettext-tools/examples/hello-librep/po/Makefile.am +++ b/gettext-tools/examples/hello-librep/po/Makefile.am @@ -195,7 +195,6 @@ $(POFILES): $(srcdir)/$(DOMAIN).pot install-data-local: install-data-local-@USE_NLS@ install-data-local-no: all-local install-data-local-yes: all-local - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ @@ -238,7 +237,6 @@ install-data-local-yes: all-local installdirs-local: installdirs-local-@USE_NLS@ installdirs-local-no: installdirs-local-yes: - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ diff --git a/gettext-tools/examples/hello-pascal/po/Makefile.am b/gettext-tools/examples/hello-pascal/po/Makefile.am index 1ea6291c3..5e3743f9e 100644 --- a/gettext-tools/examples/hello-pascal/po/Makefile.am +++ b/gettext-tools/examples/hello-pascal/po/Makefile.am @@ -195,7 +195,6 @@ $(POFILES): $(srcdir)/$(DOMAIN).pot install-data-local: install-data-local-@USE_NLS@ install-data-local-no: all-local install-data-local-yes: all-local - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ @@ -238,7 +237,6 @@ install-data-local-yes: all-local installdirs-local: installdirs-local-@USE_NLS@ installdirs-local-no: installdirs-local-yes: - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ diff --git a/gettext-tools/examples/hello-perl/po/Makefile.am b/gettext-tools/examples/hello-perl/po/Makefile.am index d84a00310..5e7fe98d8 100644 --- a/gettext-tools/examples/hello-perl/po/Makefile.am +++ b/gettext-tools/examples/hello-perl/po/Makefile.am @@ -205,7 +205,6 @@ $(POFILES): $(srcdir)/$(DOMAIN).pot install-data-local: install-data-local-@USE_NLS@ install-data-local-no: all-local install-data-local-yes: all-local - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ @@ -248,7 +247,6 @@ install-data-local-yes: all-local installdirs-local: installdirs-local-@USE_NLS@ installdirs-local-no: installdirs-local-yes: - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ diff --git a/gettext-tools/examples/hello-php/po/Makefile.am b/gettext-tools/examples/hello-php/po/Makefile.am index 818a5defe..b098d14a1 100644 --- a/gettext-tools/examples/hello-php/po/Makefile.am +++ b/gettext-tools/examples/hello-php/po/Makefile.am @@ -195,7 +195,6 @@ $(POFILES): $(srcdir)/$(DOMAIN).pot install-data-local: install-data-local-@USE_NLS@ install-data-local-no: all-local install-data-local-yes: all-local - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ @@ -238,7 +237,6 @@ install-data-local-yes: all-local installdirs-local: installdirs-local-@USE_NLS@ installdirs-local-no: installdirs-local-yes: - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ diff --git a/gettext-tools/examples/hello-python/po/Makefile.am b/gettext-tools/examples/hello-python/po/Makefile.am index a68a06643..584f078d4 100644 --- a/gettext-tools/examples/hello-python/po/Makefile.am +++ b/gettext-tools/examples/hello-python/po/Makefile.am @@ -195,7 +195,6 @@ $(POFILES): $(srcdir)/$(DOMAIN).pot install-data-local: install-data-local-@USE_NLS@ install-data-local-no: all-local install-data-local-yes: all-local - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ @@ -238,7 +237,6 @@ install-data-local-yes: all-local installdirs-local: installdirs-local-@USE_NLS@ installdirs-local-no: installdirs-local-yes: - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ diff --git a/gettext-tools/examples/hello-sh/po/Makefile.am b/gettext-tools/examples/hello-sh/po/Makefile.am index d4110ba5e..606bc716e 100644 --- a/gettext-tools/examples/hello-sh/po/Makefile.am +++ b/gettext-tools/examples/hello-sh/po/Makefile.am @@ -195,7 +195,6 @@ $(POFILES): $(srcdir)/$(DOMAIN).pot install-data-local: install-data-local-@USE_NLS@ install-data-local-no: all-local install-data-local-yes: all-local - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ @@ -238,7 +237,6 @@ install-data-local-yes: all-local installdirs-local: installdirs-local-@USE_NLS@ installdirs-local-no: installdirs-local-yes: - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ diff --git a/gettext-tools/examples/hello-smalltalk/po/Makefile.am b/gettext-tools/examples/hello-smalltalk/po/Makefile.am index d56d6d8a1..45a20a81f 100644 --- a/gettext-tools/examples/hello-smalltalk/po/Makefile.am +++ b/gettext-tools/examples/hello-smalltalk/po/Makefile.am @@ -195,7 +195,6 @@ $(POFILES): $(srcdir)/$(DOMAIN).pot install-data-local: install-data-local-@USE_NLS@ install-data-local-no: all-local install-data-local-yes: all-local - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ @@ -238,7 +237,6 @@ install-data-local-yes: all-local installdirs-local: installdirs-local-@USE_NLS@ installdirs-local-no: installdirs-local-yes: - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ diff --git a/gettext-tools/examples/hello-ycp/po/Makefile.am b/gettext-tools/examples/hello-ycp/po/Makefile.am index f30dfd93b..4d6286ad9 100644 --- a/gettext-tools/examples/hello-ycp/po/Makefile.am +++ b/gettext-tools/examples/hello-ycp/po/Makefile.am @@ -195,7 +195,6 @@ $(POFILES): $(srcdir)/$(DOMAIN).pot install-data-local: install-data-local-@USE_NLS@ install-data-local-no: all-local install-data-local-yes: all-local - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ @@ -238,7 +237,6 @@ install-data-local-yes: all-local installdirs-local: installdirs-local-@USE_NLS@ installdirs-local-no: installdirs-local-yes: - $(MKDIR_P) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \