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.
This commit is contained in:
parent
e810cd0e20
commit
24a265cb8e
1 changed files with 3 additions and 3 deletions
6
makefile
6
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue