chiark / gitweb /
doc/tripe-protocol.tex: Much protocol documentation.
[tripe] / Makefile.am
index dbfa5121d93191feadc7d4b2f66128e07c1fc6a4..046247a7e1a5dee823d1c579affe28b4fc9a91c2 100644 (file)
@@ -50,20 +50,30 @@ endif
 
 ## 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
@@ -72,9 +82,9 @@ SUBDIRS                       += contrib
 SUBDIRS                        += t
 
 ###--------------------------------------------------------------------------
-### The pkg-config file.
+### Package-configuration file.
 
-pkgconfigdir            = $(libdir)/pkgconfig
+pkgconfigdir            = $(datadir)/pkgconfig
 pkgconfig_DATA          = tripe.pc
 EXTRA_DIST             += tripe.pc.in
 CLEANFILES             += tripe.pc
@@ -84,7 +94,7 @@ tripe.pc: tripe.pc.in Makefile
                mv $@.new $@
 
 ###--------------------------------------------------------------------------
-### Release tweaking.
+### Distribution.
 
 ## Distcheck tweaks.
 DISTCHECK_TUNNELS       = slip
@@ -110,6 +120,7 @@ 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