outfile = (dest_dir + '/' + f).replace ('.eps', '.png')
data_option = ''
if options.local_data_dir:
- data_option = ('-slilypond-datadir=%s/../share/lilypond/current '
+ data_option = ('-slilypond-datadir=%s/share/lilypond/current '
% os.path.dirname(infile))
mkdir (os.path.split (outfile)[0])