From 24a265cb8eba5fae70d6f62816c50be83a10e99f Mon Sep 17 00:00:00 2001 From: Christian Date: Sat, 26 Feb 2022 21:17:15 +0100 Subject: [PATCH] Remove DESTDIR in makefile from sed Fix to only add the realpath in the build, to be able to use the makefile in a rpmbuild. --- makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index 282d7ef..f0d5454 100755 --- a/makefile +++ b/makefile @@ -29,7 +29,7 @@ install: install -m 755 zenmonitor $(DESTDIR)$(PREFIX)/bin mkdir -p $(DESTDIR)$(PREFIX)/share/applications - sed -e "s|@APP_EXEC@|${DESTDIR}${PREFIX}/bin/zenmonitor|" \ + sed -e "s|@APP_EXEC@|${PREFIX}/bin/zenmonitor|" \ data/zenmonitor.desktop.in > \ $(DESTDIR)$(PREFIX)/share/applications/zenmonitor.desktop @@ -38,11 +38,11 @@ install-cli: install -m 755 zenmonitor-cli $(DESTDIR)$(PREFIX)/bin install-polkit: - sed -e "s|@APP_EXEC@|${DESTDIR}${PREFIX}/bin/zenmonitor|" \ + sed -e "s|@APP_EXEC@|${PREFIX}/bin/zenmonitor|" \ data/zenmonitor-root.desktop.in > \ $(DESTDIR)$(PREFIX)/share/applications/zenmonitor-root.desktop - sed -e "s|@APP_EXEC@|${DESTDIR}${PREFIX}/bin/zenmonitor|" \ + sed -e "s|@APP_EXEC@|${PREFIX}/bin/zenmonitor|" \ data/org.pkexec.zenmonitor.policy.in > \ $(DESTDIR)/usr/share/polkit-1/actions/org.pkexec.zenmonitor.policy