X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-daemon%2FMakefile.am;h=973a2b555a273bdd8f4249c6702a8d0b2a031716;hb=8b792d513254e334b7ead4e47dd3f37b23b06e77;hp=55207d07525e7923196329a4bf7ef8188c646a2c;hpb=85ee6bdb696179980845a73aa279a2d1314ce289;p=catta diff --git a/avahi-daemon/Makefile.am b/avahi-daemon/Makefile.am index 55207d0..973a2b5 100644 --- a/avahi-daemon/Makefile.am +++ b/avahi-daemon/Makefile.am @@ -70,7 +70,8 @@ pkgsysconf_DATA = \ hosts service_DATA = \ - ssh.service + ssh.service \ + sftp-ssh.service pkgdata_DATA = \ avahi-service.dtd @@ -85,6 +86,10 @@ avahi_daemon_LDADD += -lcap endif +if HAVE_DLOPEN +avahi_daemon_LDADD += -ldl +endif + if HAVE_DBUS dbusservicedir=$(DBUS_SYS_DIR) @@ -110,10 +115,6 @@ avahi_daemon_SOURCES += \ avahi_daemon_LDADD += \ $(DBUS_LIBS) -if HAVE_DLOPEN -avahi_daemon_LDADD += -ldl -endif - avahi_daemon_CFLAGS += $(DBUS_CFLAGS) dbusservice_DATA = avahi-dbus.conf @@ -148,6 +149,7 @@ EXTRA_DIST = \ HostNameResolver.introspect \ RecordBrowser.introspect \ ssh.service \ + sftp-ssh.service \ hosts \ example.service \ introspect.dtd \ @@ -158,3 +160,6 @@ xmllint: for F in $(introspection_DATA) ; do \ xmllint --noout --valid $$F ; \ done + +install-data-local: + test -z "$(localstatedir)/run" || $(mkdir_p) "$(DESTDIR)$(localstatedir)/run"