aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2018-05-18 12:08:12 +0200
committerFabian Groffen <grobian@gentoo.org>2018-05-18 12:08:12 +0200
commit213b183db62d05fc918f323098b19ac260fc2a3c (patch)
treefcbffb4bd04403d3614594ebd3045137905252e7
parentqcache: make categories counting work properly (diff)
downloadportage-utils-213b183db62d05fc918f323098b19ac260fc2a3c.tar.gz
portage-utils-213b183db62d05fc918f323098b19ac260fc2a3c.tar.bz2
portage-utils-213b183db62d05fc918f323098b19ac260fc2a3c.zip
mkman.py: add additional authors to main authors section
-rw-r--r--man/include/qfile-99-authors.include4
-rw-r--r--man/include/qfile-authors.include1
-rwxr-xr-xman/mkman.py5
3 files changed, 5 insertions, 5 deletions
diff --git a/man/include/qfile-99-authors.include b/man/include/qfile-99-authors.include
deleted file mode 100644
index df3dc39..0000000
--- a/man/include/qfile-99-authors.include
+++ /dev/null
@@ -1,4 +0,0 @@
-.SH "ADDITIONAL CONTRIBUTORS"
-.nf
-TGL degrenier[at]easyconnect.fr
-.fi
diff --git a/man/include/qfile-authors.include b/man/include/qfile-authors.include
new file mode 100644
index 0000000..d90fe2a
--- /dev/null
+++ b/man/include/qfile-authors.include
@@ -0,0 +1 @@
+TGL <degrenier[at]easyconnect.fr>
diff --git a/man/mkman.py b/man/mkman.py
index 8444311..7089320 100755
--- a/man/mkman.py
+++ b/man/mkman.py
@@ -139,7 +139,10 @@ def MkMan(applets, applet, output):
# Handle any fragments this applet has available
for frag in sorted(glob.glob(os.path.join(FRAGS_DIR, '%s-*.include' % applet))):
with open(frag) as f:
- extra_sections += [x.rstrip() for x in f.readlines()]
+ if "-authors." in frag:
+ authors += [x.rstrip() for x in f.readlines()]
+ else:
+ extra_sections += [x.rstrip() for x in f.readlines()]
data = {
'applet': applet,