diff --git a/Makefile b/Makefile index 556f32b..bdb0631 100644 --- a/Makefile +++ b/Makefile @@ -15,8 +15,8 @@ install: install -Dm 755 src/lib/* -t "${DESTDIR}${PREFIX}/share/${pkgname}/lib/" # Install icons - install -Dm 664 "src/icons/${pkgname}*.svg" -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/" - install -Dm 664 "src/icons/${pkgname}_updates-available*.svg" -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/" + install -Dm 664 src/icons/"${pkgname}"*.svg -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/" + install -Dm 664 src/icons/"${pkgname}"_updates-available*.svg -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/" # Install .desktop files install -Dm 644 "res/desktop/${pkgname}.desktop" "${DESTDIR}${PREFIX}/share/applications/${pkgname}.desktop" @@ -65,8 +65,8 @@ uninstall: rm -rf "${DESTDIR}${PREFIX}/share/${pkgname}/" # Delete icons - rm -f "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/${pkgname}*.svg" - rm -f "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/${pkgname}_updates-available*.svg" + rm -f "${DESTDIR}${PREFIX}"/share/icons/hicolor/scalable/apps/"${pkgname}"*.svg + rm -f "${DESTDIR}${PREFIX}"/share/icons/hicolor/scalable/apps/"${pkgname}"_updates-available*.svg # Delete .desktop files rm -f "${DESTDIR}${PREFIX}/share/applications/${pkgname}.desktop"