Reorganize directories of doc/

git-svn-id: http://svn.pyinstaller.org/trunk@53 8dd32b29-ccff-0310-8a9a-9233e24343b1
This commit is contained in:
giovannibajo
2005-09-14 12:37:02 +00:00
parent 9154cf3336
commit c9690054b2
11 changed files with 27 additions and 1606 deletions
-17
View File
@@ -1,17 +0,0 @@
#
# Generate PyInstaller documentation
#
all: doc
doc:
tools/buildrecursive.py --local --title="PyInstaller Tutorial"
clean:
rm -f *.html
#
# END OF FILE
#
-1589
View File
File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

+20
View File
@@ -0,0 +1,20 @@
#
# Generate PyInstaller documentation
#
all: doc
doc:
tools/buildrecursive.py --local --strict --title="PyInstaller Tutorial" --outpath=..
clean:
rm -f ../*.html
install:
cp *.html ..
#
# END OF FILE
#
@@ -67,6 +67,9 @@ class SettingsSpec(docutils.SettingsSpec):
['--recurse'],
{'action': 'store_true', 'default': 1,
'validator': frontend.validate_boolean}),
('Generate output files in the specified directory. The default is '
'to put them in the same directory of the input files.',
['--outpath'], {'metavar': '<directory>', 'type': 'string'}),
('Do not scan subdirectories for files to process.',
['--local'], {'dest': 'recurse', 'action': 'store_false'}),
('Do not process files in <directory>. This option may be used '
@@ -217,6 +220,10 @@ class Builder:
return 1
settings._source = os.path.normpath(os.path.join(directory, name))
settings._destination = settings._source[:-4]+'.html'
if settings.outpath:
# FIXME: we should probably try and recreate the exising structure here,
# but that's more work than we need right now.
settings._destination = os.path.join(settings.outpath, os.path.basename(settings._destination))
if not self.initial_settings.silent:
print >>sys.stderr, ' ::: Processing:', name
sys.stderr.flush()