From 24d579b0f38391e9ae95db77586dc5f8721796e1 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 27 Jul 2013 17:04:38 +0200 Subject: [PATCH] Make distcheck pass --- src/ui/gui/icons/automake.mk | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/ui/gui/icons/automake.mk b/src/ui/gui/icons/automake.mk index b4845aa95e..2d304af02d 100644 --- a/src/ui/gui/icons/automake.mk +++ b/src/ui/gui/icons/automake.mk @@ -8,24 +8,25 @@ sizes=16x16 22x22 24x24 32x32 48x48 256x256 install-ext-icons: for context in apps mimetypes; do \ - for size in $(sizes); do \ $(MKDIR_P) $(themedir)/$$size/$$context ; \ - if (cd $(top_srcdir)/src/ui/gui/icons/$$context/$$size && \ - (test ! "`printf '%s %s %s' . .. *`" = '. .. *' || test -f '*')) 2> /dev/null ; then \ - $(INSTALL_DATA) $(top_srcdir)/src/ui/gui/icons/$$context/$$size/* $(themedir)/$$size/$$context ; \ - fi ; \ - done ; \ + for size in $(sizes); do \ + if (cd $(top_srcdir)/src/ui/gui/icons/$$context/$$size && \ + (test ! "`printf '%s %s %s' . .. *`" = '. .. *' || test -f '*')) 2> /dev/null ; then \ + $(INSTALL_DATA) $(top_srcdir)/src/ui/gui/icons/$$context/$$size/* $(themedir)/$$size/$$context ; \ + fi ; \ + done ; \ done uninstall-ext-icons: for context in apps mimetypes; do \ - for size in $(sizes); do \ - if (cd $(top_srcdir)/src/ui/gui/icons/$$context/$$size && \ - (test ! "`printf '%s %s %s' . .. *`" = '. .. *' || test -f '*')) 2> /dev/null ; then \ - rm -rf $(themedir)/$$size/$$context/application-x-spss-* ; \ - fi ; \ - done ; \ + for size in $(sizes); do \ + if (cd $(top_srcdir)/src/ui/gui/icons/$$context/$$size && \ + (test ! "`printf '%s %s %s' . .. *`" = '. .. *' || test -f '*')) 2> /dev/null ; then \ + rm -rf $(themedir)/$$size/$$context/application-x-spss-* ; \ + rm -rf $(themedir)/$$size/$$context/pspp* ; \ + fi ; \ + done ; \ done -- 2.30.2