Updated documentation. Changed struct_packed() to packed_struct().
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@6 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
parent
8fd0b57c77
commit
8fd7990ca0
4 changed files with 151 additions and 20 deletions
|
|
@ -6,7 +6,7 @@ from string import Template
|
|||
from optparse import OptionParser
|
||||
|
||||
# files in src dir that should not be copied to web dir
|
||||
SKIP_FILES = [ 'layout.conf' ]
|
||||
SKIP_FILES = [ 'layout.conf', '.svn' ]
|
||||
|
||||
# asciidoc command line
|
||||
ASCIIDOC = 'asciidoc --unsafe --conf-file=${srcdir}/layout.conf -a icons -o ${outfile} ${infile}'
|
||||
|
|
@ -50,7 +50,8 @@ def copy(opts, inp, outp):
|
|||
if not opts.dryrun:
|
||||
os.mkdir(outp)
|
||||
for file in os.listdir(inp):
|
||||
copy(opts, os.path.join(inp, file), os.path.join(outp, file))
|
||||
if file not in SKIP_FILES:
|
||||
copy(opts, os.path.join(inp, file), os.path.join(outp, file))
|
||||
else:
|
||||
if _is_older(inp, outp) or opts.force:
|
||||
if opts.verbose:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue