## Services.
if HAVE_PYTHON
-SUBDIRS += svc
+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
SUBDIRS += t
###--------------------------------------------------------------------------
-### The pkg-config file.
+### Package-configuration file.
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = tripe.pc
mv $@.new $@
###--------------------------------------------------------------------------
-### Release tweaking.
+### Distribution.
## Distcheck tweaks.
DISTCHECK_TUNNELS = slip
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
EXTRA_DIST += debian/python-tripe.install
## peer services
-EXTRA_DIST += debian/tripe-peer-services.dirs
EXTRA_DIST += debian/tripe-peer-services.install
+EXTRA_DIST += debian/tripe-peer-services.postinst
## monitor
EXTRA_DIST += debian/tripemon.install