From 21f863f5d18c8dab9e1464fd52f1d5c558113101 Mon Sep 17 00:00:00 2001 From: Rob Date: Sat, 8 Aug 2009 17:18:43 +0200 Subject: [PATCH] Small changes to makefile output --- signduterre.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/signduterre.py b/signduterre.py index 6eab25d..408aa30 100755 --- a/signduterre.py +++ b/signduterre.py @@ -741,10 +741,11 @@ if options.manualmake: group_list[match.group(1)] += match.group(1)+match.group(2)+" "; else: group_list['all'] += match.group(1)+" "; - previous_cat = 'NOT A VALUE'; + print("help: \n\t@echo 'Use \"make -f - "+re.sub(':', '', group_list['all'])+"\"'", file=sys.stdout); for group in group_list: print(group_list[group]+"\n", file=sys.stdout); makefile_list.sort() + previous_cat = 'NOT A VALUE'; for line in makefile_list: (category, commands) = line.split(':\n'); if category != previous_cat: -- 2.11.4.GIT