SConscript (6287:d60118c43d60) SConscript (6466:4e66dd2decd7)
1# -*- mode:python -*-
2
3# Copyright (c) 2009 The Hewlett-Packard Development Company
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 47 unchanged lines hidden (view full) ---

56 pdir = str(protocol_dir)
57 hdir = str(html_dir)
58
59 if not isdir(pdir):
60 os.mkdir(pdir)
61 if not isdir(hdir):
62 os.mkdir(hdir)
63
1# -*- mode:python -*-
2
3# Copyright (c) 2009 The Hewlett-Packard Development Company
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 47 unchanged lines hidden (view full) ---

56 pdir = str(protocol_dir)
57 hdir = str(html_dir)
58
59 if not isdir(pdir):
60 os.mkdir(pdir)
61 if not isdir(hdir):
62 os.mkdir(hdir)
63
64 do_html = "no_html"
64 do_html = "html"
65 cmdline = [ slicc_bin, pdir, hdir, protocol, do_html ]
66 cmdline += [ str(s) for s in source[2:] ]
67 cmdline = ' '.join(cmdline)
68 return cmdline
69
70slicc_builder = Builder(generator=slicc_generator)
71
72protocol = env['PROTOCOL']

--- 20 unchanged lines hidden ---
65 cmdline = [ slicc_bin, pdir, hdir, protocol, do_html ]
66 cmdline += [ str(s) for s in source[2:] ]
67 cmdline = ' '.join(cmdline)
68 return cmdline
69
70slicc_builder = Builder(generator=slicc_generator)
71
72protocol = env['PROTOCOL']

--- 20 unchanged lines hidden ---