summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-08-22 20:00:49 +0200
committerDaniel Friesel <derf@finalrewind.org>2016-08-22 20:00:49 +0200
commita39a2381031daa2088bf60d031558ab218f87170 (patch)
tree1b78f84efdaba3a1f9fc8ac7b80b5d4aa2091e86
parentd32801fd51c301ddc7ae2cf3aa6b2136a5083fdf (diff)
Makefile: Add icons to uninstall target
-rw-r--r--Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8a12cfc..900fcb0 100644
--- a/Makefile
+++ b/Makefile
@@ -98,13 +98,23 @@ install-applications:
uninstall:
- rm -f ${man_dir}/man1/feh.1 ${man_dir}/man1/feh-cam.1
- rm -f ${man_dir}/man1/gen-cam-menu.1
+ rm -f ${man_dir}/man1/feh.1
rm -rf ${doc_dir}
- rm -f ${bin_dir}/feh ${bin_dir}/feh-cam ${bin_dir}/gen-cam-menu
+ rm -f ${bin_dir}/feh
rm -f ${desktop_dir}/feh.desktop
rm -rf ${font_dir}
rm -rf ${image_dir}
+ @if test -e ${48_icon_dir}/feh.png; then \
+ echo rm -f ${48_icon_dir}/feh.png; \
+ rm -f ${48_icon_dir}/feh.png; \
+ fi
+ @if test -e ${scalable_icon_dir}/feh.svg; then \
+ echo rm -f ${scalable_icon_dir}/feh.svg; \
+ rm -f ${scalable_icon_dir}/feh.svg; \
+ fi
+ @if which gtk-update-icon-cache > /dev/null 2>&1; then \
+ gtk-update-icon-cache ${icon_dir}; \
+ fi
dist:
mkdir /tmp/feh-${VERSION}