diff options
author | Christian | 2022-02-26 21:17:15 +0100 |
---|---|---|
committer | GitHub | 2022-02-26 21:17:15 +0100 |
commit | 24a265cb8eba5fae70d6f62816c50be83a10e99f (patch) | |
tree | c74d67a26e6e153ecd7ce9c550e49ead215ab2e4 /makefile | |
parent | e810cd0e2017881ae0962b3772faf5bce27ff006 (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-x | makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |