From: John Darrington Date: Sat, 27 Jul 2013 15:04:38 +0000 (+0200) Subject: Make distcheck pass X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24d579b0f38391e9ae95db77586dc5f8721796e1;p=pspp Make distcheck pass --- 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