Commit b9c96fa1 authored by Zeeshan Ali's avatar Zeeshan Ali

demo: Move demo apps under libexecdir

That is a lot more appropriate location than datadir, which is supposed
to be for arch-independent files.

https://bugs.freedesktop.org/show_bug.cgi?id=75640
parent 4f3cb3cb
demodir = $(datadir)/geoclue-2.0/demos
demodir = $(libexecdir)/geoclue-2.0/demos
demo_PROGRAMS = where-am-i
......@@ -15,10 +15,10 @@ apps_DATA = geoclue-where-am-i.desktop \
@INTLTOOL_DESKTOP_RULE@
geoclue-where-am-i.desktop.in: geoclue-where-am-i.desktop.in.in
$(AM_V_GEN) sed -e "s|[@]datadir@|$(datadir)|g" $< > $@
$(AM_V_GEN) sed -e "s|[@]libexecdir@|$(libexecdir)|g" $< > $@
geoclue-demo-agent.desktop.in: geoclue-demo-agent.desktop.in.in
$(AM_V_GEN) sed -e "s|[@]datadir@|$(datadir)|g" $< > $@
$(AM_V_GEN) sed -e "s|[@]libexecdir@|$(libexecdir)|g" $< > $@
if BUILD_DEMO_AGENT
demo_PROGRAMS += agent
......
......@@ -2,7 +2,7 @@
_Name=Geoclue Demo agent
_GenericName=Demo geoclue agent
_Keywords=geolocation;
Exec=@datadir@/geoclue-2.0/demos/agent
Exec=@libexecdir@/geoclue-2.0/demos/agent
Icon=mark-location-symbolic
NoDisplay=true
Terminal=false
......
......@@ -3,7 +3,7 @@ _Name=Where am I?
_GenericName=Demo geolocation application
_Comment=Find your current location
_Keywords=geolocation;
Exec=@datadir@/geoclue-2.0/demos/where-am-i
Exec=@libexecdir@/geoclue-2.0/demos/where-am-i
Icon=mark-location-symbolic
NoDisplay=true
Terminal=true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment