|
|
|
|
@ -85,7 +85,6 @@ uninstall:
|
|
|
|
|
done
|
|
|
|
|
@$(RM) "${DESTDIR}${PREFIX}/bin/${PKGNAME}"
|
|
|
|
|
@$(RM) "${DESTDIR}${PREFIX}/share/applications/${PKGNAME}.desktop"
|
|
|
|
|
@$(RM) "${DESTDIR}${PREFIX}/share/${PKGNAME}/images/logo-background.png"
|
|
|
|
|
@$(RM) "${DESTDIR}${PREFIX}/share/polkit-1/actions/com.ublinux.pkexec.${PKGNAME}.exec.policy"
|
|
|
|
|
@$(RM) "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/com.ublinux.${PKGNAME}.svg"
|
|
|
|
|
@$(RM) -rd "${DESTDIR}${PREFIX}/share/${PKGNAME}"
|
|
|
|
|
@ -123,10 +122,10 @@ install: check uninstall
|
|
|
|
|
@install -Dm644 -t "${DESTDIR}${PREFIX}/share/${PKGNAME}/images/" "logo-background.png"
|
|
|
|
|
@install -Dm644 -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/status/" "com.ublinux.${PKGNAME}.checked.svg"
|
|
|
|
|
@install -Dm644 -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/status/" "com.ublinux.${PKGNAME}.warning.svg"
|
|
|
|
|
@install -Dm644 -t /usr/share/${PKGNAME}/ grub-cmdline-linux.csv
|
|
|
|
|
@install -Dm644 -t /usr/share/${PKGNAME}/ grub-terminal-input.csv
|
|
|
|
|
@install -Dm644 -t /usr/share/${PKGNAME}/ grub-terminal-output.csv
|
|
|
|
|
@install -Dm644 -t /usr/share/${PKGNAME}/ grub-play.csv
|
|
|
|
|
@install -Dm644 -t "${DESTDIR}${PREFIX}/share/${PKGNAME}/" grub-cmdline-linux.csv
|
|
|
|
|
@install -Dm644 -t "${DESTDIR}${PREFIX}/share/${PKGNAME}/" grub-terminal-input.csv
|
|
|
|
|
@install -Dm644 -t "${DESTDIR}${PREFIX}/share/${PKGNAME}/" grub-terminal-output.csv
|
|
|
|
|
@install -Dm644 -t "${DESTDIR}${PREFIX}/share/${PKGNAME}/" grub-play.csv
|
|
|
|
|
@if [ -z ${DESTDIR} ]; then \
|
|
|
|
|
[ -d "${DESTDIR}${PREFIX}/share/icons/hicolor/" ] && gtk-update-icon-cache -fiq "${DESTDIR}${PREFIX}/share/icons/hicolor/" &>/dev/null || true; \
|
|
|
|
|
update-desktop-database --quiet &>/dev/null || true; \
|
|
|
|
|
|