X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=Makefile.am;h=88c1704ee6c271546456fd71c97a52dc89e9c3be;hb=9642bac4b85de24ce62c53ad6a8e2ab4b2dd31ba;hp=31c54c46d2bae6215bfffcde12d493ec120ae51a;hpb=8a1b97fd1f8922d0ea07b6c19900a912b2ce7939;p=catta diff --git a/Makefile.am b/Makefile.am index 31c54c4..88c1704 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,16 +16,77 @@ # License along with avahi; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. -include aminclude.am -EXTRA_DIST = bootstrap.sh LICENSE $(DX_CONFIG) -SUBDIRS = avahi-common avahi-core avahi-discover avahi-client avahi-daemon initscript avahi-dnsconfd +ACLOCAL_AMFLAGS = -I common + +include $(srcdir)/common/doxygen.mk + +EXTRA_DIST = \ + bootstrap.sh \ + LICENSE \ + $(DX_CONFIG) \ + docs/INSTALL \ + docs/TODO \ + docs/README \ + docs/DBUS-API \ + docs/AUTHORS \ + docs/HACKING \ + docs/overview.dia \ + avahi-core.pc.in \ + avahi-client.pc.in \ + avahi-glib.pc.in + +SUBDIRS = \ + common \ + avahi-common \ + avahi-glib \ + avahi-core \ + avahi-discover-standalone \ + avahi-client \ + avahi-daemon \ + initscript \ + avahi-dnsconfd \ + avahi-utils \ + examples \ + man \ + tests pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = avahi-core.pc -MOSTLYCLEANFILES = $(DX_CLEANFILES) +avahi-core.pc: avahi-core.pc.in + sed -e 's,@prefix\@,$(prefix),g' \ + -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@ + +CLEANFILES = avahi-core.pc + +if HAVE_DBUS + +pkgconfig_DATA += avahi-client.pc + +avahi-client.pc: avahi-client.pc.in + sed -e 's,@prefix\@,$(prefix),g' \ + -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@ -all: doxygen-doc +CLEANFILES += avahi-client.pc + +endif + +if HAVE_GLIB + +pkgconfig_DATA += avahi-glib.pc + +avahi-glib.pc: avahi-glib.pc.in + sed -e 's,@prefix\@,$(prefix),g' \ + -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@ + +CLEANFILES += avahi-glib.pc + +endif + +MOSTLYCLEANFILES = $(DX_CLEANFILES) -.PHONY: distcleancheck +homepage: + scp avahi-daemon/*.introspect avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\ + man/*.xml man/xmltoman.dtd man/xmltoman.xsl \ + fdo:public_html/