]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - tools/make-man-index.py
Merge pull request #9301 from keszybz/man-drop-authorgroup
[thirdparty/systemd.git] / tools / make-man-index.py
index 50ad9532cdc57e3dd885107b6e6e04da86b51c0d..7ed98cb4e006bf84caa0ad424bbba50b16853b2f 100755 (executable)
@@ -1,28 +1,11 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 #  -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
-#
-#  This file is part of systemd.
-#
-#  Copyright 2012 Lennart Poettering
-#  Copyright 2013 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 <http://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: LGPL-2.1+
 
 import collections
 import sys
 import re
-from xml_helper import *
+from xml_helper import xml_parse, xml_print, tree
 
 MDASH = ' — ' if sys.version_info.major >= 3 else ' -- '
 
@@ -32,15 +15,6 @@ TEMPLATE = '''\
   <refentryinfo>
     <title>systemd.index</title>
     <productname>systemd</productname>
-
-    <authorgroup>
-      <author>
-        <contrib>Developer</contrib>
-        <firstname>Lennart</firstname>
-        <surname>Poettering</surname>
-        <email>lennart@poettering.net</email>
-      </author>
-    </authorgroup>
   </refentryinfo>
 
   <refmeta>