diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-08-22 03:40:51 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-08-22 03:40:51 +0000 |
commit | 16ddb80971f1c798b5f2dd06fbc13d53ff7d4980 (patch) | |
tree | 65b9afae0bbbdb7a16db01ce5b0e92f92ba9be17 /bin/dohtml | |
parent | 9f65d9ff074032fc08132c2d37b5b2ef8ebbb2aa (diff) | |
download | portage-16ddb80971f1c798b5f2dd06fbc13d53ff7d4980.tar.gz portage-16ddb80971f1c798b5f2dd06fbc13d53ff7d4980.tar.bz2 portage-16ddb80971f1c798b5f2dd06fbc13d53ff7d4980.zip |
Bug #189743 - Add .jpeg to the list of extensions supported by dohtml. (trunk r7653)
svn path=/main/branches/2.1.2/; revision=7654
Diffstat (limited to 'bin/dohtml')
-rwxr-xr-x | bin/dohtml | 7 |
1 files changed, 4 insertions, 3 deletions
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 <list-of-files> # - 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 <list-of-files-and-directories> # - 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 |