1 EXTRA_DIST += $(icons) $(icon_srcs) src/ui/gui/icons/COPYING_CCBYSA3
3 include $(top_srcdir)/src/ui/gui/icons/manifest
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/$$size/$$context && \
14 (test ! "`printf '%s %s %s' . .. *`" = '. .. *' || test -f '*')) 2> /dev/null ; then \
15 $(INSTALL_DATA) $(top_srcdir)/src/ui/gui/icons/$$size/$$context/* $(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/$$size/$$context && \
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 nodist_src_ui_gui_psppire_DATA = src/ui/gui/icons/splash.png
64 src/ui/gui/icons/splash.png: $(top_srcdir)/src/ui/gui/icons/splash-t.png $(top_srcdir)/src/ui/gui/icons/splash-r.png Makefile
65 @$(MKDIR_P) src/ui/gui/icons
66 @case `echo $(VERSION) | $(SED) -e 's/[0-9][0-9]*\.[0-9]*\([0-9]\)\.[0-9][0-9]*/\1/'` in \
67 [13579]) cp $(top_srcdir)/src/ui/gui/icons/splash-t.png $@ ; \
69 *) cp $(top_srcdir)/src/ui/gui/icons/splash-r.png $@ ; \
73 EXTRA_DIST += $(top_srcdir)/src/ui/gui/artwork/splash.svg $(icons) $(icon_srcs)