Exemple #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
Exemple #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
Exemple #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'
Exemple #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'