--- a/trunk/wharfie/lib/makefile.py +++ b/trunk/wharfie/lib/makefile.py @@ -92,7 +92,7 @@ if 'trgcmd' in target: cmd = templateTrgCmd % (target['trgcmd'].replace('$', '\\$$').replace('"', '\\"')); f.write("\t${Q}echo '******************************'\n"); - f.write("\t${Q}echo '%s'\n" % target['comment']); + f.write("\t${Q}echo '%s: %s'\n" % (target['name'], target['comment'])); f.write("\t${Q}echo '******************************'\n"); f.write("\t${Q}(echo -e \"%s\") | ${SUDO} tee .trg.sh\n" % cmd.replace('\\n', '\\\\\\n').replace('\n', '\\n').replace('!', '"\'!\'"')); f.write("\t${Q}${SUDO} chmod a+x .trg.sh\n"); @@ -100,7 +100,7 @@ if 'hostcmd' in target: cmd = templateHostCmd % (target['hostcmd'].replace('$', '\\$$').replace('"', '\\"')); f.write("\t${Q}echo '******************************'\n"); - f.write("\t${Q}echo '%s'\n" % target['comment']); + f.write("\t${Q}echo '%s: %s'\n" % (target['name'], target['comment'])); f.write("\t${Q}echo '******************************'\n"); f.write("\t${Q}(echo -e \"%s\") | ${SUDO} tee .hst.sh\n" % cmd.replace('\\n', '\\\\\\\\n').replace('\n', '\\n').replace('!', '"\'!\'"')); f.write("\t${Q}${SUDO} chmod a+x .hst.sh\n");