163 outfile = outputFileName |
163 outfile = outputFileName |
164 else: |
164 else: |
165 root, ext = os.path.splitext(outputFileName) |
165 root, ext = os.path.splitext(outputFileName) |
166 outfile = "%s-%s%s" % (root, progLanguage.lower(), ext) |
166 outfile = "%s-%s%s" % (root, progLanguage.lower(), ext) |
167 |
167 |
168 outfile = outfile.replace(project.ppath+os.sep, '') |
168 outfile = project.getRelativePath(outfile) |
169 if outfile not in project.pdata['OTHERS']: |
169 if outfile not in project.pdata['OTHERS']: |
170 project.pdata['OTHERS'].append(outfile) |
170 project.pdata['OTHERS'].append(outfile) |
171 project.setDirty(True) |
171 project.setDirty(True) |
172 project.othersAdded(outfile) |
172 project.othersAdded(outfile) |