chiark / gitweb /
Drop my copyright headers
[elogind.git] / tools / make-man-index.py
index 396188212a492161a78778fc9f3d4b9c843ded6d..f0bb52475566f68bb485db04af7d906e8394ff2e 100755 (executable)
@@ -1,27 +1,11 @@
+#!/usr/bin/env python3
 #  -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
-#
-#  This file is part of elogind.
-#
-#  Copyright 2012 Lennart Poettering
-#  Copyright 2013 Zbigniew Jędrzejewski-Szmek
-#
-#  elogind 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.
-#
-#  elogind 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 elogind; 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 ' -- '
 
@@ -39,6 +23,14 @@ TEMPLATE = '''\
         <surname>Poettering</surname>
         <email>lennart@poettering.net</email>
       </author>
+      <!-- 1 /// Must add elogind authors for the additions and changes -->
+      <author>
+        <contrib>Developer</contrib>
+        <firstname>Sven</firstname>
+        <surname>Eden</surname>
+        <email>sven.eden@gmx.de</email>
+      </author>
+      <!-- // 1 -->
     </authorgroup>
   </refentryinfo>