Changeset f4defea in rtems-docs


Ignore:
Timestamp:
01/16/16 04:45:50 (8 years ago)
Author:
Amar Takhar <amar@…>
Branches:
4.11, 5, master
Children:
7b8e24e
Parents:
5daabd2
git-author:
Amar Takhar <amar@…> (01/16/16 04:45:50)
git-committer:
Amar Takhar <verm@…> (05/03/16 00:51:22)
Message:

Check for non existent directories when building 'book'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • book/wscript

    r5daabd2 rf4defea  
    11from sys import path
    2 from os.path import abspath
     2from os.path import abspath, exists
    33path.append(abspath('../common/'))
    44
     
    1414                "rtemsconfig",
    1515                "shell",
    16                 "commands",
    1716                "ada_user",
    1817                "bsp_howto",
     
    2827                "relnotes"
    2928        ]
     29
     30        p = ctx.path.parent.abspath()
     31        for dir in dirs:
     32                if not exists("%s/%s" % (p, dir)):
     33                        ctx.fatal("Directory does not exist: %s/%s" % (p, dir))
    3034
    3135        for dir in dirs:
Note: See TracChangeset for help on using the changeset viewer.