From 84f10ffcd2c051e27ad0ec2f7d3eb00e7828c45e Mon Sep 17 00:00:00 2001 From: AsciiWolf Date: Mon, 2 Sep 2019 00:03:30 +0200 Subject: Change installed desktop icon type to svg + Do not use legacy pixmaps path --- data/icons/CMakeLists.txt | 4 ++-- data/icons/Makefile.am | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'data/icons') diff --git a/data/icons/CMakeLists.txt b/data/icons/CMakeLists.txt index 41539898b..2d5a0a899 100644 --- a/data/icons/CMakeLists.txt +++ b/data/icons/CMakeLists.txt @@ -1,7 +1,7 @@ SET(FILES - manaplus.png + manaplus.svg ) INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/icons) -INSTALL(FILES "manaplus.png" DESTINATION share/pixmaps) +INSTALL(FILES "manaplus.svg" DESTINATION share/icons/hicolor/scalable/apps) diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am index 14fc348ae..37eb702fd 100644 --- a/data/icons/Makefile.am +++ b/data/icons/Makefile.am @@ -9,11 +9,11 @@ icons_DATA = manaplus.png \ manaplus.xpm install-data-local: - $(mkinstalldirs) $(DESTDIR)$(datarootdir)/pixmaps - $(INSTALL) $(srcdir)/manaplus.png $(DESTDIR)$(datarootdir)/pixmaps/manaplus.png + $(mkinstalldirs) $(DESTDIR)$(datarootdir)/icons/hicolor/scalable/apps + $(INSTALL) $(srcdir)/manaplus.svg $(DESTDIR)$(datarootdir)/icons/hicolor/scalable/apps/manaplus.svg uninstall-local: - rm -f $(DESTDIR)$(datarootdir)/pixmaps/manaplus.png + rm -f $(DESTDIR)$(datarootdir)/icons/hicolor/scalable/apps/manaplus.svg EXTRA_DIST = \ $(icons_DATA) \ -- cgit v1.2.3-60-g2f50