$(ASSEMBLY).config: $(ASSEMBLY).config.in
$(srcdir)/gencfg.sh $(top_builddir)/avahi-client/libavahi-client.la \
- $(top_builddir)/avahi-common/libavahi-common.la < $< > $@
+ $(top_builddir)/avahi-common/libavahi-common.la \
+ $(top_builddir)/avahi-glib/libavahi-glib.la < $< > $@
if HAVE_MONO
if HAVE_DBUS
update-docs: $(ASSEMBLY)
$(MONODOCER) -assembly:$(ASSEMBLY) -path:en
-avahi-sharp-docs.zip avahi-sharp-docs.tree: $(srcdir)/en/*/*
+avahi-sharp-docs.zip: avahi-sharp-docs.tree
+
+avahi-sharp-docs.tree: $(srcdir)/en/*/*
$(MDASSEMBLER) --out avahi-sharp-docs --ecma $(srcdir)/en
-docdir = $(MONODOC_DIR)
-doc_DATA = avahi-sharp-docs.zip avahi-sharp-docs.tree avahi-sharp-docs.source
+monodocdir = $(MONODOC_DIR)
+monodoc_DATA = avahi-sharp-docs.zip avahi-sharp-docs.tree avahi-sharp-docs.source
endif