+avahi-bookmarks.1: avahi-bookmarks.1.xml Makefile
+ xmltoman $< > $@
+
+avahi-dnsconfd.8: avahi-dnsconfd.8.xml Makefile
+ xmltoman $< > $@
+
+avahi-daemon.conf.5: avahi-daemon.conf.5.xml Makefile
+ xmltoman $< > $@
+
+avahi-dnsconfd.action.8: avahi-dnsconfd.action.8.xml Makefile
+ xmltoman $< > $@
+
+avahi.service.5: avahi.service.5.xml Makefile
+ xmltoman $< > $@
+
+
+xmllint: $(noinst_DATA)
+ for f in $(noinst_DATA) ; do \
+ xmllint --noout --valid "$$f" || exit 1 ; \
+ done
+
+endif
+
+endif
+
+EXTRA_DIST = \
+ $(man_MANS) \
+ avahi-browse.1.xml.in \
+ avahi-publish.1.xml.in \
+ avahi-resolve.1.xml.in \
+ avahi-daemon.8.xml.in \
+ avahi-discover.1.xml.in \
+ avahi-bookmarks.1.xml.in \
+ avahi-dnsconfd.8.xml.in \
+ avahi-daemon.conf.5.xml.in \
+ avahi-dnsconfd.action.8.xml.in \
+ avahi.service.5.xml.in \
+ xmltoman.css \
+ xmltoman.xsl \
+ xmltoman.dtd
+
+
+if HAVE_DBUS
+
+install-exec-local:
+ mkdir -p $(DESTDIR)/$(mandir)/man1 && \
+ cd $(DESTDIR)/$(mandir)/man1 && \
+ rm -f avahi-resolve-host-name.1 avahi-resolve-address.1 avahi-browse-domains.1 avahi-publish-address.1 avahi-publish-service.1 && \
+ $(LN_S) avahi-resolve.1 avahi-resolve-host-name.1 && \
+ $(LN_S) avahi-resolve.1 avahi-resolve-address.1 && \
+ $(LN_S) avahi-browse.1 avahi-browse-domains.1 && \
+ $(LN_S) avahi-publish.1 avahi-publish-address.1 && \
+ $(LN_S) avahi-publish.1 avahi-publish-service.1
+