X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=Makefile.am;h=26ce6bd2c3f4725a5dbced4bbbb151006bb096d3;hb=37d19f15523b6fe4d1fef2329abe421221b3d4b3;hp=62ee02748fe6e88ea3da5d92eb754ef539f0763b;hpb=0b5a3c8d2caf8a985c5bdd7965c36a0aeafb54aa;p=catta diff --git a/Makefile.am b/Makefile.am index 62ee027..26ce6bd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,3 @@ -# $Id$ - # This file is part of avahi. # # avahi is free software; you can redistribute it and/or modify it @@ -17,16 +15,68 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. -ACLOCAL_AMFLAGS = -I common +ACLOCAL_AMFLAGS = -I m4 + +include $(srcdir)/m4/doxygen.mk + +EXTRA_DIST = \ + LICENSE \ + $(DX_CONFIG) \ + docs/INSTALL \ + docs/TODO \ + docs/NEWS \ + docs/README \ + docs/DBUS-API \ + docs/AUTHORS \ + docs/HACKING \ + docs/API-CHANGES-0.6 \ + docs/COMPAT-LAYERS \ + docs/MALLOC \ + docs/overview.dia \ + docs/server-states.dia \ + docs/avahi-poll.dia \ + avahi.pc.in \ + doxygen_to_devhelp.xsl + +SUBDIRS = \ + m4 \ + src \ + include \ + tests \ + examples -include $(srcdir)/common/doxygen.mk +DX_INPUT = \ + $(srcdir)/include/avahi/address.h \ + $(srcdir)/include/avahi/malloc.h \ + $(srcdir)/include/avahi/strlst.h \ + $(srcdir)/include/avahi/alternative.h \ + $(srcdir)/include/avahi/defs.h \ + $(srcdir)/include/avahi/error.h \ + $(srcdir)/include/avahi/domain.h \ + $(srcdir)/include/avahi/watch.h \ + $(srcdir)/include/avahi/simple-watch.h \ + $(srcdir)/include/avahi/thread-watch.h \ + $(srcdir)/include/avahi/core.h \ + $(srcdir)/include/avahi/lookup.h \ + $(srcdir)/include/avahi/publish.h \ + $(srcdir)/include/avahi/rr.h \ + $(srcdir)/include/avahi/log.h -EXTRA_DIST = bootstrap.sh LICENSE $(DX_CONFIG) docs/INSTALL docs/TODO docs/DBUS-API docs/README docs/HACKING docs/overview.dia -SUBDIRS = common avahi-common avahi-core avahi-discover-standalone avahi-client avahi-daemon initscript avahi-dnsconfd avahi-utils examples +DX_EXAMPLE_PATH = $(srcdir)/examples +DX_EXAMPLE_PATTERNS = *.c pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = avahi-core.pc -MOSTLYCLEANFILES = $(DX_CLEANFILES) +%.pc: %.pc.in + $(AM_V_GEN)sed -e 's,@prefix\@,$(prefix),g' \ + -e 's,@libdir\@,$(libdir),g' \ + -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@ + +pkgconfig_DATA = avahi.pc +CLEANFILES = avahi.pc +CLEANFILES += avahi.devhelp -#.PHONY: distcleancheck +avahi.devhelp: doxygen-run + xsltproc -o $@ doxygen_to_devhelp.xsl doxygen/xml/index.xml + +MOSTLYCLEANFILES = $(DX_CLEANFILES)