Lines 14-21
Link Here
|
14 |
# Detailed usage: |
14 |
# Detailed usage: |
15 |
# dohtml <list-of-files> |
15 |
# dohtml <list-of-files> |
16 |
# - will install the files in the list of files (space-separated list) into |
16 |
# - will install the files in the list of files (space-separated list) into |
17 |
# /usr/share/doc/${PF}/html, provided the file ends in .html, .png, .jpg |
17 |
# /usr/share/doc/${PF}/html, provided the file ends in .html, .htm, .png, |
18 |
# or .css |
18 |
# .jpg, .jpeg, .gif, .js or .css. |
19 |
# dohtml -r <list-of-files-and-directories> |
19 |
# dohtml -r <list-of-files-and-directories> |
20 |
# - will do as 'dohtml', but recurse into all directories, as long as the |
20 |
# - will do as 'dohtml', but recurse into all directories, as long as the |
21 |
# directory name is not CVS |
21 |
# directory name is not CVS |
Lines 80-86
Link Here
|
80 |
if os.environ.has_key("DOCDESTTREE"): |
80 |
if os.environ.has_key("DOCDESTTREE"): |
81 |
self.DOCDESTTREE = os.environ["DOCDESTTREE"] |
81 |
self.DOCDESTTREE = os.environ["DOCDESTTREE"] |
82 |
|
82 |
|
83 |
self.allowed_exts = [ 'png', 'gif', 'html', 'htm', 'jpg', 'css', 'js' ] |
83 |
self.allowed_exts = [ 'png', 'gif', 'html', 'htm', 'jpg', 'jpeg', 'css', 'js' ] |
84 |
self.allowed_files = [] |
84 |
self.allowed_files = [] |
85 |
self.disallowed_dirs = [ 'CVS' ] |
85 |
self.disallowed_dirs = [ 'CVS' ] |
86 |
self.recurse = False |
86 |
self.recurse = False |