Use full paths in .name file
authorDan Winship <danw@gnome.org>
Tue, 12 Mar 2013 19:10:49 +0000 (15:10 -0400)
committerDan Winship <danw@gnome.org>
Tue, 12 Mar 2013 19:12:30 +0000 (15:12 -0400)
Include the full path to the auth-dialog and properties library in the
.name file, like we already do for the main helper program.

https://bugzilla.gnome.org/show_bug.cgi?id=694768

Makefile.am
nm-openvpn-service.name.in

index 843e09f..edbe579 100644 (file)
@@ -27,7 +27,9 @@ if WITH_GNOME
 endif
 
 nm-openvpn-service.name: $(srcdir)/nm-openvpn-service.name.in
-       sed -e 's|[@]LIBEXECDIR[@]|$(libexecdir)|g' $< >$@
+       sed -e 's|[@]LIBEXECDIR[@]|$(libexecdir)|g' \
+           -e 's|[@]LIBDIR[@]|$(libdir)|g' \
+           $< >$@
 
 DISTCHECK_CONFIGURE_FLAGS = \
        --with-tests=yes \
index bab507e..50b1ba6 100644 (file)
@@ -4,7 +4,7 @@ service=org.freedesktop.NetworkManager.openvpn
 program=@LIBEXECDIR@/nm-openvpn-service
 
 [GNOME]
-auth-dialog=nm-openvpn-auth-dialog
-properties=libnm-openvpn-properties
+auth-dialog=@LIBEXECDIR@/nm-openvpn-auth-dialog
+properties=@LIBDIR@/libnm-openvpn-properties
 supports-external-ui-mode=true