From 7b0eb2d40a258c84cc2cd77bbca2e91c83b49331 Mon Sep 17 00:00:00 2001 From: Trent Lloyd Date: Wed, 19 Oct 2005 21:38:28 +0000 Subject: * Allow --disable-manpages, causing manpages not to be built or installed git-svn-id: file:///home/lennart/svn/public/avahi/trunk@827 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- man/Makefile.am | 74 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 39 insertions(+), 35 deletions(-) (limited to 'man') diff --git a/man/Makefile.am b/man/Makefile.am index 0271e7d..c2bd848 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -20,6 +20,25 @@ pkgsysconfdir=$(sysconfdir)/avahi servicedir=$(pkgsysconfdir)/services +noinst_DATA = \ + avahi-browse.1.xml \ + avahi-publish-service.1.xml \ + avahi-publish-address.1.xml \ + avahi-resolve-address.1.xml \ + avahi-resolve-host-name.1.xml \ + avahi-daemon.8.xml \ + avahi-discover.1.xml \ + avahi-bookmarks.1.xml \ + avahi-dnsconfd.8.xml \ + avahi-daemon.conf.5.xml \ + avahi-dnsconfd.action.8.xml \ + avahi.service.5.xml + +CLEANFILES = \ + $(noinst_DATA) + +if BUILD_MANPAGES + man_MANS = \ avahi-daemon.8 \ avahi-dnsconfd.8 \ @@ -42,41 +61,6 @@ man_MANS += \ endif endif -noinst_DATA = \ - avahi-browse.1.xml \ - avahi-publish-service.1.xml \ - avahi-publish-address.1.xml \ - avahi-resolve-address.1.xml \ - avahi-resolve-host-name.1.xml \ - avahi-daemon.8.xml \ - avahi-discover.1.xml \ - avahi-bookmarks.1.xml \ - avahi-dnsconfd.8.xml \ - avahi-daemon.conf.5.xml \ - avahi-dnsconfd.action.8.xml \ - avahi.service.5.xml - -EXTRA_DIST = \ - $(man_MANS) \ - avahi-browse.1.xml.in \ - avahi-publish-service.1.xml.in \ - avahi-publish-address.1.xml.in \ - avahi-resolve-address.1.xml.in \ - avahi-resolve-host-name.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 - -CLEANFILES = \ - $(noinst_DATA) - avahi-browse.1.xml: avahi-browse.1.xml.in Makefile sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ @@ -180,3 +164,23 @@ xmllint: $(noinst_DATA) done endif + +endif + +EXTRA_DIST = \ + $(man_MANS) \ + avahi-browse.1.xml.in \ + avahi-publish-service.1.xml.in \ + avahi-publish-address.1.xml.in \ + avahi-resolve-address.1.xml.in \ + avahi-resolve-host-name.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 -- cgit