From: Zac Medico Date: Wed, 22 Aug 2007 03:40:51 +0000 (-0000) Subject: Bug #189743 - Add .jpeg to the list of extensions supported by dohtml. (trunk r7653) X-Git-Tag: v2.1.3.9~36 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=16ddb80971f1c798b5f2dd06fbc13d53ff7d4980;p=portage.git Bug #189743 - Add .jpeg to the list of extensions supported by dohtml. (trunk r7653) svn path=/main/branches/2.1.2/; revision=7654 --- diff --git a/bin/dohtml b/bin/dohtml index 917ca1b52..5087ca430 100755 --- a/bin/dohtml +++ b/bin/dohtml @@ -14,8 +14,8 @@ # Detailed usage: # dohtml # - will install the files in the list of files (space-separated list) into -# /usr/share/doc/${PF}/html, provided the file ends in .html, .png, .jpg -# or .css +# /usr/share/doc/${PF}/html, provided the file ends in .htm, .html, .css, +# .js, ,gif, .jpeg, .jpg, or .png. # dohtml -r # - will do as 'dohtml', but recurse into all directories, as long as the # directory name is not CVS @@ -80,7 +80,8 @@ class OptionsClass: if os.environ.has_key("_E_DOCDESTTREE_"): self.DOCDESTTREE = os.environ["_E_DOCDESTTREE_"] - self.allowed_exts = [ 'png', 'gif', 'html', 'htm', 'jpg', 'css', 'js' ] + self.allowed_exts = [ 'htm', 'html', 'css', 'js', + 'gif', 'jpeg', 'jpg', 'png' ] self.allowed_files = [] self.disallowed_dirs = [ 'CVS' ] self.recurse = False diff --git a/man/ebuild.5 b/man/ebuild.5 index f10e8c765..68b4f053a 100644 --- a/man/ebuild.5 +++ b/man/ebuild.5 @@ -775,7 +775,7 @@ Performs the ln command as either a hard link or symlink. .TP \fBdohtml\fR \fI [\-a filetypes] [\-r] [\-x list\-of\-dirs\-to\-ignore] [list\-of\-files\-and\-dirs]\fR Installs the files in the list of files (space\-separated list) into -/usr/share/doc/${PF}/html provided the file ends in .html, .htm, .gif, .jpg, .png, .js, or .css. +/usr/share/doc/${PF}/html provided the file ends in .htm, .html, .css, .js, .gif, .jpeg, .jpg, or .png. Setting \fI\-a\fR limits what types of files will be included, \fI\-A\fR appends to the default list, setting \fI\-x\fR sets which dirs to exclude (CVS excluded by default), \fI\-r\fR sets recursive.