nm: Automatically determine path to the auth dialog
[strongswan.git] / src / frontends / gnome / Makefile.am
index 6ea29e0..2fc793e 100644 (file)
@@ -2,9 +2,6 @@ AUTOMAKE_OPTIONS = foreign
 
 SUBDIRS = properties auth-dialog po
 
-dbusservicedir = $(sysconfdir)/dbus-1/system.d
-dbusservice_DATA = nm-strongswan-service.conf
-
 nmvpnservicedir = $(sysconfdir)/NetworkManager/VPN
 nmvpnservice_DATA = nm-strongswan-service.name
 
@@ -17,11 +14,11 @@ appdata_in_files = NetworkManager-strongswan.appdata.xml.in
 
 nm-strongswan-service.name: $(srcdir)/nm-strongswan-service.name.in
        $(AM_V_GEN) \
-       sed -e 's|[@]LIBEXECDIR[@]|$(libexecdir)|' \
+       sed -e 's|[@]NM_LIBEXECDIR[@]|$(nm_libexecdir)|' \
            -e 's|[@]CHARON[@]|$(charon)|' $< >$@
 
-EXTRA_DIST = nm-strongswan-service.name.in \
-    $(dbusservice_DATA)  \
+EXTRA_DIST = \
+    nm-strongswan-service.name.in  \
     $(appdata_in_files)  \
     $(appdata_DATA)      \
     intltool-extract.in  \