summaryrefslogtreecommitdiff
path: root/menta/Makefile.am
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-03-22 04:44:50 -0700
committerStefano Karapetsas <[email protected]>2013-03-22 04:44:50 -0700
commit609eaec0ec388b836d7f7a540b99c60140ffca49 (patch)
tree220b6421c96b6c96000786c0a42ac6de605928a8 /menta/Makefile.am
parent4f4e8bc791fe870d52b06689982eac0c698573fb (diff)
parent58b344f46b91b29eae0af2155c4fe3f1cac76858 (diff)
downloadmate-icon-theme-609eaec0ec388b836d7f7a540b99c60140ffca49.tar.bz2
mate-icon-theme-609eaec0ec388b836d7f7a540b99c60140ffca49.tar.xz
Merge pull request #4 from MDykstra/master
add Menta icon set
Diffstat (limited to 'menta/Makefile.am')
-rw-r--r--menta/Makefile.am39
1 files changed, 39 insertions, 0 deletions
diff --git a/menta/Makefile.am b/menta/Makefile.am
new file mode 100644
index 0000000..2165f56
--- /dev/null
+++ b/menta/Makefile.am
@@ -0,0 +1,39 @@
+themedir = $(datadir)/icons/menta
+
+install-data-local:
+ $(mkdir_p) $(DESTDIR)$(themedir); \
+ for dir in `cd $(top_srcdir)/menta && find . -type d | sed s/.//`; do \
+ $(mkdir_p) $(DESTDIR)$(themedir)$$dir; \
+ done; \
+ for file in `cd $(top_srcdir)/menta && find . -name "*.png" | sed s@./@/@`; do \
+ $(install_sh_DATA) $(top_srcdir)/menta/$$file $(DESTDIR)$(themedir)/$$file; \
+ done; \
+ $(install_sh_DATA) $(top_srcdir)/menta/index.theme $(DESTDIR)$(themedir)/index.theme; \
+ 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 *.png | sed s@./@/@`; do \
+ rm -f $(DESTDIR)$(themedir)$$file; \
+ done; \
+ fi
+
+MAINTAINERCLEANFILES = \
+ Makefile.in \
+ Makefile
+