summaryrefslogtreecommitdiffstats
path: root/pixmaps/Makefile
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-05-28 18:15:19 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-05-28 18:38:15 +0200
commit9d4e41ec40f97ba21f7737191f83156384404020 (patch)
tree0a102a1042001048224bde519ad51e9f711a00a1 /pixmaps/Makefile
parent99201be1aecae611417004b9c6a5be39b16be304 (diff)
downloadcontrol-center-9d4e41ec40f97ba21f7737191f83156384404020.tar
control-center-9d4e41ec40f97ba21f7737191f83156384404020.tar.gz
control-center-9d4e41ec40f97ba21f7737191f83156384404020.tar.bz2
control-center-9d4e41ec40f97ba21f7737191f83156384404020.tar.xz
control-center-9d4e41ec40f97ba21f7737191f83156384404020.zip
Install drakconf icon to hicolor (with SVG)
Allows to use scalable graphics unlike icons/{,large,mini} (mga#18066)
Diffstat (limited to 'pixmaps/Makefile')
-rw-r--r--pixmaps/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/pixmaps/Makefile b/pixmaps/Makefile
index 6df1cf21..a7c487db 100644
--- a/pixmaps/Makefile
+++ b/pixmaps/Makefile
@@ -1,9 +1,11 @@
THEMES = default kde gnome
-mcc_dir = $(DESTDIR)/usr/share/mcc/themes
+SHAREDIR = $(DESTDIR)/usr/share
+THEMEDIR = $(SHAREDIR)/mcc/themes
all:
clean:
install:
- for d in $(THEMES); do ( install -d $(mcc_dir)/$$d ; install -m644 $$d/*.png $(mcc_dir)/$$d ; if [ -e $$d/*.rc ]; then install -m644 $$d/*.rc $(mcc_dir)/$$d; fi; ) ; done
+ install -d $(SHAREDIR); cp -a icons $(SHAREDIR); \
+ for d in $(THEMES); do ( install -d $(THEMEDIR)/$$d ; install -m644 $$d/*.png $(THEMEDIR)/$$d ; if [ -e $$d/*.rc ]; then install -m644 $$d/*.rc $(THEMEDIR)/$$d; fi; ) ; done