Code

Fixed service file!
authorglimmer07 <glimmer07@users.sourceforge.net>
Sat, 15 Aug 2009 18:31:06 +0000 (18:31 +0000)
committerglimmer07 <glimmer07@users.sourceforge.net>
Sat, 15 Aug 2009 18:31:06 +0000 (18:31 +0000)
Service file will now point to $(prefix) of most recently installed inkscape.

src/extension/dbus/Makefile_insert
src/extension/dbus/org.inkscape.service.in

index a10dcdeba406ce2767fcc8f58bbc4ad991f75f75..00dba3b2047a4637ea238e4ab77a9a27db327def 100644 (file)
@@ -36,5 +36,5 @@ service_DATA = $(service_in_files:.service.in=.service)
 
 # Rule to make the service file with bindir expanded
 $(service_DATA): $(service_in_files) Makefile
-       @sed -e "s|@bindir@|$(bindir)|" $<> $@ #Fix bindir
+       @sed -e "s|bindir|$(prefix)|" $<> $@
 
index 60d5b6b43da0fef8518d4e24df89c16428e89543..dcfff2ff270e3150827b5dbf6a8329c1c294d876 100644 (file)
@@ -1,5 +1,5 @@
 [D-BUS Service]
 Name=org.inkscape
-Exec=/usr/local/bin/inkscape
+Exec=bindir/inkscape