X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=make-directive-index.py;h=eaf7019a2b343efdcbb1d86ebc61300a604ac3fd;hp=468ea583fb895ec12b4acea0786533fcf9a9512b;hb=40b5bbb91e1077ff0b7d88d7cbcff0228e282616;hpb=ffafe91b5ae019c699c009c3128ddfe4320a750b diff --git a/make-directive-index.py b/make-directive-index.py old mode 100644 new mode 100755 index 468ea583f..eaf7019a2 --- a/make-directive-index.py +++ b/make-directive-index.py @@ -1,4 +1,22 @@ -# -*- coding: utf-8 -*- +# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */ +# +# This file is part of systemd. +# +# Copyright 2012 Zbigniew Jędrzejewski-Szmek +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. +# +# systemd is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with systemd; If not, see . + import sys import collections import xml.etree.ElementTree as tree @@ -56,6 +74,15 @@ TEMPLATE = '''\ + + + Journal directives + + Directives for configuring the behaviour of the + journald process. + + + ''' @@ -111,6 +138,7 @@ def make_page(xml_files): for name in ['unit-directives', 'udev-directives', 'systemd-directives', + 'journal-directives', ]} for page in xml_files: _extract_directives(directive_groups, page)