diff options
author | Fabian Groffen <grobian@gentoo.org> | 2018-05-18 12:08:12 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2018-05-18 12:08:12 +0200 |
commit | 213b183db62d05fc918f323098b19ac260fc2a3c (patch) | |
tree | fcbffb4bd04403d3614594ebd3045137905252e7 | |
parent | qcache: make categories counting work properly (diff) | |
download | portage-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.include | 4 | ||||
-rw-r--r-- | man/include/qfile-authors.include | 1 | ||||
-rwxr-xr-x | man/mkman.py | 5 |
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 df3dc399..00000000 --- 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 00000000..d90fe2ac --- /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 84443110..7089320f 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, |