diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-02-03 04:47:47 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-02-07 05:16:16 +0100 |
commit | 56ba3c78ae35065064c4289a0c8e22a81256af20 (patch) | |
tree | 29587193349dce9f1b44a2b1787ec357179fb463 /man/loginctl.xml | |
parent | build-sys: split man alias rules into separate file (diff) | |
download | systemd-56ba3c78ae35065064c4289a0c8e22a81256af20.tar.xz systemd-56ba3c78ae35065064c4289a0c8e22a81256af20.zip |
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 'man/loginctl.xml')
-rw-r--r-- | man/loginctl.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/loginctl.xml b/man/loginctl.xml index 90b6f1e110..ba0352cf61 100644 --- a/man/loginctl.xml +++ b/man/loginctl.xml @@ -21,7 +21,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. --> -<refentry id="loginctl"> +<refentry id="loginctl" conditional='HAVE_PAM'> <refentryinfo> <title>loginctl</title> |