diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-02-19 05:14:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-02-19 05:14:08 +0000 |
commit | 1a4a1f659f0977e0807299fc2d7b2b0ace1fb54d (patch) | |
tree | b5dec7625f65d75c5426d15233a43dd39ced2588 /app-portage | |
parent | move man page compiling into src_compile (diff) | |
download | gentoo-2-1a4a1f659f0977e0807299fc2d7b2b0ace1fb54d.tar.gz gentoo-2-1a4a1f659f0977e0807299fc2d7b2b0ace1fb54d.tar.bz2 gentoo-2-1a4a1f659f0977e0807299fc2d7b2b0ace1fb54d.zip |
Do not abort if @DESCRIPTION is not set #209665 by mren.
(Portage version: 2.2_pre2)
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/eclass-manpages/ChangeLog | 8 | ||||
-rw-r--r-- | app-portage/eclass-manpages/files/eclass-to-manpage.awk | 10 |
2 files changed, 11 insertions, 7 deletions
diff --git a/app-portage/eclass-manpages/ChangeLog b/app-portage/eclass-manpages/ChangeLog index 2659da3a80f4..eaca4b597687 100644 --- a/app-portage/eclass-manpages/ChangeLog +++ b/app-portage/eclass-manpages/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-portage/eclass-manpages -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/eclass-manpages/ChangeLog,v 1.8 2007/09/01 03:49:05 vapier Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-portage/eclass-manpages/ChangeLog,v 1.9 2008/02/19 05:14:07 vapier Exp $ + + 19 Feb 2008; Mike Frysinger <vapier@gentoo.org> + files/eclass-to-manpage.awk: + Do not abort if @DESCRIPTION is not set #209665 by mren. 01 Sep 2007; Mike Frysinger <vapier@gentoo.org> files/eclass-to-manpage.awk: diff --git a/app-portage/eclass-manpages/files/eclass-to-manpage.awk b/app-portage/eclass-manpages/files/eclass-to-manpage.awk index a406afbbd057..fd9a1260d85c 100644 --- a/app-portage/eclass-manpages/files/eclass-to-manpage.awk +++ b/app-portage/eclass-manpages/files/eclass-to-manpage.awk @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/eclass-manpages/files/eclass-to-manpage.awk,v 1.11 2007/09/01 21:31:39 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/eclass-manpages/files/eclass-to-manpage.awk,v 1.12 2008/02/19 05:14:08 vapier Exp $ # This awk converts the comment documentation found in eclasses # into man pages for easier/nicer reading. @@ -122,8 +122,10 @@ function handle_eclass() { # finally display it print ".SH \"NAME\"" print eclass " \\- " man_text(blurb) - print ".SH \"DESCRIPTION\"" - print man_text(desc) + if (desc != "") { + print ".SH \"DESCRIPTION\"" + print man_text(desc) + } if (example != "") { print ".SH \"EXAMPLE\"" print man_text(example) @@ -132,8 +134,6 @@ function handle_eclass() { # sanity checks if (blurb == "") fail(eclass ": no @BLURB found") - if (desc == "") - fail(eclass ": no @DESCRIPTION found") if (eclass_maintainer == "") warn(eclass ": no @MAINTAINER found") |