aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorChristian2022-02-26 21:17:15 +0100
committerGitHub2022-02-26 21:17:15 +0100
commit24a265cb8eba5fae70d6f62816c50be83a10e99f (patch)
treec74d67a26e6e153ecd7ce9c550e49ead215ab2e4 /makefile
parente810cd0e2017881ae0962b3772faf5bce27ff006 (diff)
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.
Diffstat (limited to 'makefile')
-rwxr-xr-xmakefile6
1 files 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