From e624566919c93370443a07b39faf28ac983e66a4 Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Wed, 24 May 2023 15:03:35 -0400 Subject: [PATCH] Makefile: Makefile updates - Install emmental.desktop as com.nowheycreamery.emmental.desktop - Fix up variables used in the 'uninstall' target Fixes: #61 (Rename .desktop file) Signed-off-by: Anna Schumaker --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 542fa74..119d326 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ install.desktop: desktop-file-install --set-key=Exec --set-value $(EMMENTAL_BIN)/emmental \ --set-key=Icon --set-value=$(EMMENTAL_LIB)/emmental.svg \ --rebuild-mime-info-cache \ - --dir=$(EMMENTAL_SHARE)/applications emmental.desktop + --dir=$(EMMENTAL_SHARE)/applications com.nowheycreamery.emmental.desktop .PHONY: install install: emmental.gresource mpris2 install.app install.icons install.desktop @@ -65,9 +65,9 @@ install: emmental.gresource mpris2 install.app install.icons install.desktop .PHONY: uninstall uninstall: - rm -f ${PREFIX}/share/applications/com.nowheycreamery.emmental.desktop - rm -f ${PREFIX}/bin/emmental - rm -rf ${PREFIX}/lib/emmental/ + rm -f ${EMMENTAL_SHARE}/applications/com.nowheycreamery.emmental.desktop + rm -f ${EMMENTAL_BIN}/emmental + rm -rf ${EMMENTAL_LIB}/emmental/ .PHONY: pkgbuild.pkgver pkgbuild.pkgver: