Fix wrong/not uninstalled icons in Makefile

parent f3b7cab9
......@@ -33,8 +33,9 @@ install : target/release/gDiceRoller
mkdir -p $(sharedir)/metainfo/
# Install icons
$(INSTALL_DATA) data/codes.nora.gDiceRoller.svg $(sharedir)/icons/hicolor/scalable/apps/codes.nora.gDiceRoller.svg
$(INSTALL_DATA) data/codes.nora.gDiceRoller.64.png $(sharedir)/icons/hicolor/64x64/apps/codes.nora.gDiceRoller.svg
$(INSTALL_DATA) data/codes.nora.gDiceRoller.128.png $(sharedir)/icons/hicolor/128x128/apps/codes.nora.gDiceRoller.svg
$(INSTALL_DATA) data/codes.nora.gDiceRoller.64.png $(sharedir)/icons/hicolor/64x64/apps/codes.nora.gDiceRoller.png
$(INSTALL_DATA) data/codes.nora.gDiceRoller.128.png $(sharedir)/icons/hicolor/128x128/apps/codes.nora.gDiceRoller.png
# Force icon cache refresh
touch $(sharedir)/icons/hicolor
# Install application meta-data
$(INSTALL_DATA) data/codes.nora.gDiceRoller.appdata.xml $(sharedir)/metainfo/codes.nora.gDiceRoller.appdata.xml
......@@ -49,6 +50,8 @@ uninstall :
rm -f $(sharedir)/metainfo/codes.nora.gDiceRoller.appdata.xml
# Remove the icon
rm -f $(sharedir)/icons/hicolor/scalable/apps/codes.nora.gDiceRoller.svg
rm -f $(sharedir)/icons/hicolor/64x64/apps/codes.nora.gDiceRoller.png
rm -f $(sharedir)/icons/hicolor/128x128/apps/codes.nora.gDiceRoller.png
# Remove the binary
rm -f $(bindir)/bin/codes.nora.gDiceRoller
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment