X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=Makefile.am;h=18640f0c9ca4b824d2ccc145e9ea5615581e653e;hb=dad41109f1726a876dd918290187d0a5296b267d;hp=18a1cfc17ae69451586c65c4a0ac86d9f2af7200;hpb=64dff8088b43bd2f367f35e18bf02e73c8052dec;p=catta diff --git a/Makefile.am b/Makefile.am index 18a1cfc..18640f0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,13 +17,80 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. -EXTRA_DIST = bootstrap.sh LICENSE doxygen/Makefile.am doxygen/Makefile.in doxygen/doxygen.conf.in libtool.m4 -SUBDIRS = avahi-common avahi-core avahi-discover avahi-client daemon +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 -doxygen: - $(MAKE) -C doxygen doxygen +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' $< > $@ + +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 doxygen +homepage: + scp avahi-daemon/*.introspect avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\ + man/*.xml man/xmltoman.dtd man/xmltoman.xsl \ + fdo:public_html/ + rm -rf doxygen + $(MAKE) doxygen-run + ssh fdo rm -rf public_html/doxygen + scp -r doxygen/html fdo:public_html/doxygen