Example #1
0
def get_config_dict(dir):
    d = misc.grok_sh_variables(dir + '/config.make')

    version_dict = misc.grok_sh_variables(d['configure-srcdir'] + '/VERSION')
    d.update(version_dict)

    d['builddir'] = d['configure-builddir']
    d['srcdir'] = d['configure-srcdir']

    return d
Example #2
0
def get_config_dict (dir):
    d = misc.grok_sh_variables (dir + '/config.make')

    version_dict = misc.grok_sh_variables (d['configure-srcdir'] + '/VERSION')
    d.update (version_dict)

    d['builddir'] = d['configure-builddir']
    d['srcdir'] = d['configure-srcdir']
    
    return d
Example #3
0
 def name_version (self):
     # whugh
     import os
     if os.path.exists (self.srcdir ()):
         d = misc.grok_sh_variables (self.expand ('%(srcdir)s/VERSION'))
         return 'texlive-%(VERSION)s' % d
     return 'texlive-3.0'
Example #4
0
 def name_version(self):
     # whugh
     import os
     if os.path.exists(self.srcdir()):
         d = misc.grok_sh_variables(self.expand('%(srcdir)s/VERSION'))
         return 'texlive-%(VERSION)s' % d
     return 'texlive-3.0'