summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Hart <nejthan@gmail.com>2015-06-07 22:09:57 -0500
committerNate Hart <nejthan@gmail.com>2015-06-07 22:09:57 -0500
commit3c615174ad60a51ad3e7771a94afc70f827a2fce (patch)
treee6a30e77936c17d60ab6ecce76eb87932d3461cc
parent4ec63f78693849b9f70469081aded7f88b2753a7 (diff)
Added install-icon to Makefile
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9f90891..7c5cabd 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ test-x11: all
prove test/feh-bg-i.t
install: install-man install-doc install-bin install-font install-img
-install: install-examples install-applications
+install: install-icon install-examples install-applications
ifeq (${cam},1)
install: install-cam
@@ -69,6 +69,15 @@ install-img:
@cp share/images/* ${image_dir}
@chmod 644 ${image_dir}/*
+install-icon:
+ @echo installing icon to ${48_icon_dir}
+ @mkdir -p ${48_icon_dir}
+ @cp share/images/feh.png ${48_icon_dir}
+ @echo installing icon to ${scalable_icon_dir}
+ @mkdir -p ${scalable_icon_dir}
+ @cp share/images/feh.svg ${scalable_icon_dir}
+ @gtk-update-icon-cache ${icon_dir}
+
install-examples:
@echo installing examples to ${example_dir}
@mkdir -p ${example_dir}