summaryrefslogtreecommitdiffstats
path: root/pixmaps/Makefile
diff options
context:
space:
mode:
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