summaryrefslogtreecommitdiff
path: root/Makefile-man.am
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-02-02 22:47:47 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-02-06 23:16:16 -0500
commit56ba3c78ae35065064c4289a0c8e22a81256af20 (patch)
tree29587193349dce9f1b44a2b1787ec357179fb463 /Makefile-man.am
parent823eb4e64e88e1787a82f84539344ef530f381a8 (diff)
build-sys: create Makefile-man.am automatically
man rules were repeating the same information in too many places, which was error prone. Those rules can be easily generated from .xml files. For efficiency and because python is not a required dependency, Makefile-man.am is only regenerated when requested with make update-man-list If no metadata in man/*.xml changed, this file should not change. So only when a new man page or a new alias is added, this file should show up in 'git diff'. The change should then be committed. If the support for building from git without python was dropped, we could drop Makefile-man.am from version control. This would also increase the partial build time (since more stuff would be rebuild whenever sources in man/*.xml would be modified), so it would probably wouldn't be worth it.
Diffstat (limited to 'Makefile-man.am')
-rw-r--r--Makefile-man.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile-man.am b/Makefile-man.am
index 76b794a27b..d54d67cf11 100644
--- a/Makefile-man.am
+++ b/Makefile-man.am
@@ -1,3 +1,6 @@
+# Do not edit. Generated by make-man-rules.py.
+# Regenerate with 'make man-list-update'.
+
MANPAGES += \
man/bootup.7 \
man/daemon.7 \
@@ -292,6 +295,9 @@ if ENABLE_BOOTCHART
MANPAGES += \
man/bootchart.conf.5 \
man/systemd-bootchart.1
+MANPAGES_ALIAS += \
+ #
+
endif
if ENABLE_HOSTNAMED
@@ -396,6 +402,9 @@ endif
if HAVE_MYHOSTNAME
MANPAGES += \
man/nss-myhostname.8
+MANPAGES_ALIAS += \
+ #
+
endif
if HAVE_PAM
@@ -464,4 +473,7 @@ if HAVE_PYTHON
MANPAGES += \
man/systemd.directives.7 \
man/systemd.index.7
+MANPAGES_ALIAS += \
+ #
+
endif