diff --git a/Makefile.am b/Makefile.am
index f02e9532d..ed6c307c9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -693,7 +693,7 @@ man/index.html: make-man-index.py $(XML_FILES)
$(AM_V_GEN)$(PYTHON) $^ > $@
MANPAGES += \
- man/systemd.directives.5
+ man/systemd.directives.7
EXTRA_DIST += \
man/index.html
diff --git a/TODO b/TODO
index b4e446129..7eeca3d4e 100644
--- a/TODO
+++ b/TODO
@@ -23,8 +23,6 @@ Features:
nothing. "systemctl enable" does nothing, and gives a bad message
about it. Should fix both to print nice actionable messages.
-* man: link up systemd.directives better, so that people actually know about it
-
* fstab: add new mount option x-systemd-after=/foobar/waldo to allow manual dependencies to other mount points
https://bugzilla.redhat.com/show_bug.cgi?id=812826
diff --git a/make-directive-index.py b/make-directive-index.py
index e94f4c5b3..48d830e96 100755
--- a/make-directive-index.py
+++ b/make-directive-index.py
@@ -40,7 +40,7 @@ TEMPLATE = '''\
systemd.directives
- 5
+ 7
diff --git a/man/bootchart.conf.xml b/man/bootchart.conf.xml
index f8fcfe010..d2b09638c 100644
--- a/man/bootchart.conf.xml
+++ b/man/bootchart.conf.xml
@@ -151,7 +151,8 @@
See Also
- systemd-bootchart1
+ systemd-bootchart1,
+ systemd.directives7
diff --git a/man/systemd.automount.xml b/man/systemd.automount.xml
index fe559e1dc..757583506 100644
--- a/man/systemd.automount.xml
+++ b/man/systemd.automount.xml
@@ -160,7 +160,8 @@
systemd.unit5,
systemd.mount5,
mount8,
- automount8
+ automount8,
+ systemd.directives7
diff --git a/man/systemd.conf.xml b/man/systemd.conf.xml
index da3c7f778..956db2c4d 100644
--- a/man/systemd.conf.xml
+++ b/man/systemd.conf.xml
@@ -290,7 +290,8 @@
See Also
- systemd1
+ systemd1,
+ systemd.directives7
diff --git a/man/systemd.device.xml b/man/systemd.device.xml
index 141d72e3d..4c4bb7cee 100644
--- a/man/systemd.device.xml
+++ b/man/systemd.device.xml
@@ -161,7 +161,8 @@
systemd1,
systemctl8,
systemd.unit5,
- udev7
+ udev7,
+ systemd.directives7
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml
index 302ac4340..92f59bdfb 100644
--- a/man/systemd.exec.xml
+++ b/man/systemd.exec.xml
@@ -1149,7 +1149,8 @@
systemd.socket5,
systemd.swap5,
systemd.mount5,
- systemd.kill5
+ systemd.kill5,
+ systemd.directives7
diff --git a/man/systemd.journal-fields.xml b/man/systemd.journal-fields.xml
index 76a436d65..13af4fdfc 100644
--- a/man/systemd.journal-fields.xml
+++ b/man/systemd.journal-fields.xml
@@ -443,7 +443,8 @@
systemd1,
journalctl1,
journald.conf5,
- sd-journal3
+ sd-journal3,
+ systemd.directives7
diff --git a/man/systemd.kill.xml b/man/systemd.kill.xml
index 3fff2f57e..1bff7b81f 100644
--- a/man/systemd.kill.xml
+++ b/man/systemd.kill.xml
@@ -163,7 +163,8 @@
systemd.socket5,
systemd.swap5,
systemd.mount5,
- systemd.exec5
+ systemd.exec5,
+ systemd.directives7
diff --git a/man/systemd.mount.xml b/man/systemd.mount.xml
index d1940831a..2dc095e47 100644
--- a/man/systemd.mount.xml
+++ b/man/systemd.mount.xml
@@ -290,7 +290,8 @@
systemd.service5,
systemd.device5,
mount8,
- systemd-fstab-generator8
+ systemd-fstab-generator8,
+ systemd.directives7
diff --git a/man/systemd.path.xml b/man/systemd.path.xml
index a27a97be7..70a89b7a4 100644
--- a/man/systemd.path.xml
+++ b/man/systemd.path.xml
@@ -213,7 +213,8 @@
systemctl8,
systemd.unit5,
systemd.service5,
- inotify7
+ inotify7,
+ systemd.directives7
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 598e86365..63e5b16e5 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -922,7 +922,8 @@
systemctl8,
systemd.unit5,
systemd.exec5,
- systemd.kill5
+ systemd.kill5,
+ systemd.directives7
diff --git a/man/systemd.snapshot.xml b/man/systemd.snapshot.xml
index b432682a4..f7688e999 100644
--- a/man/systemd.snapshot.xml
+++ b/man/systemd.snapshot.xml
@@ -80,7 +80,8 @@
systemd1,
systemctl8,
- systemd.unit5
+ systemd.unit5,
+ systemd.directives7
diff --git a/man/systemd.socket.xml b/man/systemd.socket.xml
index 4b1fcc8b0..88cdaca00 100644
--- a/man/systemd.socket.xml
+++ b/man/systemd.socket.xml
@@ -678,7 +678,8 @@
systemd.unit5,
systemd.exec5,
systemd.kill5,
- systemd.service5
+ systemd.service5,
+ systemd.directives7
diff --git a/man/systemd.swap.xml b/man/systemd.swap.xml
index a932143d4..dae9d59e7 100644
--- a/man/systemd.swap.xml
+++ b/man/systemd.swap.xml
@@ -206,7 +206,8 @@
systemd.device5,
systemd.mount5,
swapon8,
- systemd-fstab-generator8
+ systemd-fstab-generator8,
+ systemd.directives7
diff --git a/man/systemd.target.xml b/man/systemd.target.xml
index d1f4d2267..efbad15cd 100644
--- a/man/systemd.target.xml
+++ b/man/systemd.target.xml
@@ -101,7 +101,8 @@
systemd1,
systemctl8,
systemd.unit5,
- systemd.special7
+ systemd.special7,
+ systemd.directives7
diff --git a/man/systemd.time.xml b/man/systemd.time.xml
index 4f80a306b..db5d01b1a 100644
--- a/man/systemd.time.xml
+++ b/man/systemd.time.xml
@@ -284,7 +284,8 @@ Wed-Sat,Tue 12-10-15 1:2:3 → Tue-Sat 2012-10-15 01:02:03
systemd1,
journalctl1,
systemd.timer5,
- systemd.unit5
+ systemd.unit5,
+ systemd.directives7
diff --git a/man/systemd.timer.xml b/man/systemd.timer.xml
index 5cc543e45..e08e20021 100644
--- a/man/systemd.timer.xml
+++ b/man/systemd.timer.xml
@@ -199,7 +199,8 @@
systemctl8,
systemd.unit5,
systemd.service5,
- systemd.time7
+ systemd.time7,
+ systemd.directives7
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index bba0f5d29..d43f288b8 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -1123,7 +1123,8 @@
systemd.timer5,
systemd.snapshot5,
systemd.time7,
- capabilities7
+ capabilities7,
+ systemd.directives7
diff --git a/man/systemd.xml b/man/systemd.xml
index 55ba0875f..962ed56ff 100644
--- a/man/systemd.xml
+++ b/man/systemd.xml
@@ -1265,7 +1265,8 @@
systemd.special5,
pkg-config1,
kernel-command-line7,
- bootup7
+ bootup7,
+ systemd.directives7