1 include $(top_srcdir)/src/ui/gui/icons/manifest
3 EXTRA_DIST += $(icons) $(icon_srcs) src/ui/gui/icons/COPYING_CCBYSA3
5 themedir = $(DESTDIR)$(datadir)/icons/hicolor
7 sizes=16x16 22x22 24x24 32x32 48x48 256x256 scalable
10 for context in apps mimetypes; do \
11 for size in $(sizes); do \
12 $(MKDIR_P) $(themedir)/$$size/$$context ; \
13 if (cd $(top_srcdir)/src/ui/gui/icons/$$context/$$size && \
14 (test ! "`printf '%s %s %s' . .. *`" = '. .. *' || test -f '*')) 2> /dev/null ; then \
15 $(INSTALL_DATA) $(top_srcdir)/src/ui/gui/icons/$$context/$$size/* $(themedir)/$$size/$$context ; \
22 for context in apps mimetypes; do \
23 for size in $(sizes); do \
24 if (cd $(top_srcdir)/src/ui/gui/icons/$$context/$$size && \
25 (test ! "`printf '%s %s %s' . .. *`" = '. .. *' || test -f '*')) 2> /dev/null ; then \
26 rm -rf $(themedir)/$$size/$$context/application-x-spss-* ; \
27 rm -rf $(themedir)/$$size/$$context/pspp* ; \
34 for context in actions categories ; do \
35 $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/$$context; \
36 for size in $(sizes); do \
37 if (cd $(top_srcdir)/src/ui/gui/icons/$$context/$$size && \
38 (test ! "`printf '%s %s %s' . .. *`" = '. .. *' || test -f '*')) 2> /dev/null ; then \
39 $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/$$context/$$size ; \
40 $(INSTALL_DATA) $(top_srcdir)/src/ui/gui/icons/$$context/$$size/* $(DESTDIR)$(pkgdatadir)/$$context/$$size ; \
48 for context in actions categories ; do \
49 for size in $(sizes); do \
50 if (cd $(top_srcdir)/src/ui/gui/icons/$$context/$$size && \
51 (test ! "`printf '%s %s %s' . .. *`" = '. .. *' || test -f '*')) 2> /dev/null ; then \
52 rm -rf $(DESTDIR)$(pkgdatadir)/$$context/$$size ; \
58 INSTALL_DATA_HOOKS += install-icons install-ext-icons
59 UNINSTALL_DATA_HOOKS += uninstall-icons uninstall-ext-icons
62 dist_src_ui_gui_psppire_DATA += \
63 $(top_srcdir)/src/ui/gui/icons/splash.png
65 src_ui_gui_psppire_SOURCES += \
66 src/ui/gui/icons/icon-names.c \
67 src/ui/gui/icons/icon-names.h