8 lilypath = os.environ['LILYPOND_SOURCEDIR'] + '/'
10 lilypath = os.environ['HOME'] + 'musix/current'
11 lilypath = lilypath + '/bin/'
12 sys.path.append(lilypath)
14 from lilypython import *
16 os.chdir(lilydirs.topdir)
17 os.system('make dist')
18 cur_ver = lilydirs.version_tuple()
19 print tarball(cur_ver)
20 os.rename('out/' + tarball(cur_ver), released_tarball(cur_ver))
23 os.system('rm ../test/*gz')
24 os.link(released_tarball(cur_ver), tarball(cur_ver))
27 # not a module, but a script (JCN)
30 # Module wherefore aren't thou Script
31 # A Rose by any other name would be as blonde. --HWN
33 os.system('python ' + lilydirs.topdir + '/bin/make-patch.py');
35 pn = 'patch-%s' % version_tuple_to_str(cur_ver)
36 os.system('gzip -9 ' + pn)
38 rel_pn = lilydirs.release_dir + '../patches/' + pn;
40 os.rename(pn, rel_pn);
43 os.system('tar cf updeet *gz')