diff --git a/tools/make-directive-index.py b/tools/make-directive-index.py
index da10575f32b..208528e8a14 100755
--- a/tools/make-directive-index.py
+++ b/tools/make-directive-index.py
@@ -160,6 +160,38 @@ TEMPLATE = '''\
+
+ D-Bus interfaces
+
+ Interaces exposed over D-Bus.
+
+
+
+
+
+ D-Bus methods
+
+ Methods exposed in the D-Bus interface.
+
+
+
+
+
+ D-Bus properties
+
+ Properties exposed in the D-Bus interface.
+
+
+
+
+
+ D-Bus signals
+
+ Signals emitted in the D-Bus interface.
+
+
+
+
Colophon
@@ -180,9 +212,10 @@ def _extract_directives(directive_groups, formatting, page):
storopt = directive_groups['options']
for variablelist in t.iterfind('.//variablelist'):
klass = variablelist.attrib.get('class')
+ searchpath = variablelist.attrib.get('xpath','./varlistentry/term/varname')
storvar = directive_groups[klass or 'miscellaneous']
#