summaryrefslogtreecommitdiff
path: root/mate/scalable/Makefile.am
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2013-08-24 18:29:25 +0200
committerraveit65 <[email protected]>2013-08-24 18:29:25 +0200
commit22510a4974d0d0e3d272059428ff435e13494cec (patch)
tree951f61e565ebefe4694824e21f404d3a25a99ea9 /mate/scalable/Makefile.am
parent27553fa7153c2899e8d4d6175ac5809b8f6240c1 (diff)
downloadmate-icon-theme-22510a4974d0d0e3d272059428ff435e13494cec.tar.bz2
mate-icon-theme-22510a4974d0d0e3d272059428ff435e13494cec.tar.xz
add sympolic icons to mate icon theme
Diffstat (limited to 'mate/scalable/Makefile.am')
-rw-r--r--mate/scalable/Makefile.am38
1 files changed, 38 insertions, 0 deletions
diff --git a/mate/scalable/Makefile.am b/mate/scalable/Makefile.am
new file mode 100644
index 0000000..3cfe589
--- /dev/null
+++ b/mate/scalable/Makefile.am
@@ -0,0 +1,38 @@
+themedir = $(datadir)/icons/mate/scalable
+
+install-data-local:
+ $(mkdir_p) $(DESTDIR)$(themedir); \
+ for dir in `cd $(top_srcdir)/mate/scalable && find . -type d | sed s/.//`; do \
+ $(mkdir_p) $(DESTDIR)$(themedir)$$dir; \
+ done; \
+ for file in `cd $(top_srcdir)/mate/scalable && find . -name "*.svg" | sed s@./@/@`; do \
+ $(install_sh_DATA) $(top_srcdir)/mate/scalable$$file $(DESTDIR)$(themedir)/$$file; \
+ done; \
+ if [ $(ICONMAP) != "false" ]; then \
+ cd $(DESTDIR)$(themedir); \
+ for size in `find . -mindepth 1 -maxdepth 1 -type d | sed s@./@@`; do \
+ cd $$size || continue ; \
+ echo -e "Going to set up icon mapping for $$size"; \
+ for dir in `find . -type d`; do \
+ context="`echo $$dir | cut -c 3-`"; \
+ if [ $$context ]; then \
+ $(ICONMAP) -c $$context; \
+ fi; \
+ done; \
+ cd ..; \
+ done; \
+ fi
+
+
+uninstall-local:
+ if [ -d "$(DESTDIR)$(themedir)" ]; then \
+ cd $(DESTDIR)$(themedir); \
+ for file in `find . -name *.svg | sed s@./@/@`; do \
+ rm -f $(DESTDIR)$(themedir)$$file; \
+ done;
+ fi
+
+MAINTAINERCLEANFILES = \
+ Makefile.in \
+ Makefile
+