Ejemplo n.º 1
0
def _expandwildcards(makefile, tlist):
    for t in tlist:
        if not hasglob(t):
            yield t
        else:
            l = glob(makefile.workdir, t)
            for r in l:
                yield r
Ejemplo n.º 2
0
def _expandwildcards(makefile, tlist):
    for t in tlist:
        if not hasglob(t):
            yield t
        else:
            l = glob(makefile.workdir, t)
            for r in l:
                yield r
Ejemplo n.º 3
0
    def resolve(self, makefile, variables, fd, setting):
        patterns = self._arguments[0].resolvesplit(makefile, variables,
                                                   setting)

        fd.write(' '.join([
            x.replace('\\', '/') for p in patterns
            for x in glob(makefile.workdir, p)
        ]))