X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/b7e1e18b57c30555f65a2548e0f1f186200c0ea8..4da9fb4c5f42b0836a09577a8282121a6ff29d2b:/Makefile.am diff --git a/Makefile.am b/Makefile.am index ce25e370..3c2c7f6f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -41,24 +41,42 @@ SUBDIRS += pkstream SUBDIRS += init ## Path MTU discovery. -if PATHMTU SUBDIRS += pathmtu -endif ## Wireshark. if HAVE_WIRESHARK SUBDIRS += wireshark endif +## Services. +if HAVE_PYTHON +if HAVE_PYMLIB +SUBDIRS += py +if HAVE_PYCDB +SUBDIRS += peerdb +SUBDIRS += svc +endif +endif +endif + ## Key-management. +if HAVE_PYTHON if HAVE_PYCATACOMB SUBDIRS += keys endif +endif ## Graphical monitor. +if HAVE_PYTHON +if HAVE_PYMLIB if HAVE_PYGTK SUBDIRS += mon endif +endif +endif + +## Contributed stuff. +SUBDIRS += contrib ## Testing. SUBDIRS += t @@ -72,14 +90,14 @@ EXTRA_DIST += tripe.pc.in CLEANFILES += tripe.pc tripe.pc: tripe.pc.in Makefile - $(confsubst) $(srcdir)/tripe.pc.in >$@.new $(SUBSTITUTIONS) && \ + $(SUBST) $(srcdir)/tripe.pc.in >$@.new $(SUBSTITUTIONS) && \ mv $@.new $@ ###-------------------------------------------------------------------------- ### Release tweaking. ## Distcheck tweaks. -DISTCHECK_TUNNELS = linux bsd unet slip +DISTCHECK_TUNNELS = slip DISTCHECK_CONFIGURE_FLAGS = \ --with-tunnel='$(DISTCHECK_TUNNELS)' \ @@ -89,10 +107,6 @@ DISTCHECK_CONFIGURE_FLAGS = \ dist-hook:: echo $(VERSION) >$(distdir)/RELEASE -## Manual page preamble. -EXTRA_DIST += defs.man.in -CLEANFILES += defs.man - ## Additional build tools. EXTRA_DIST += config/confsubst EXTRA_DIST += config/auto-version @@ -105,6 +119,8 @@ EXTRA_DIST += debian/rules EXTRA_DIST += debian/control EXTRA_DIST += debian/changelog EXTRA_DIST += debian/copyright +EXTRA_DIST += debian/compat +EXTRA_DIST += debian/source/format ## pkstream EXTRA_DIST += debian/pkstream.copyright @@ -127,6 +143,13 @@ EXTRA_DIST += debian/tripe-uslip.install ## keys EXTRA_DIST += debian/tripe-keys.install +## modules +EXTRA_DIST += debian/python-tripe.install + +## peer services +EXTRA_DIST += debian/tripe-peer-services.install +EXTRA_DIST += debian/tripe-peer-services.postinst + ## monitor EXTRA_DIST += debian/tripemon.install