summaryrefslogtreecommitdiff
path: root/win32/genmk95.pl
diff options
context:
space:
mode:
Diffstat (limited to 'win32/genmk95.pl')
-rw-r--r--win32/genmk95.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/genmk95.pl b/win32/genmk95.pl
index 8fe4f86dbf..cf31457ab1 100644
--- a/win32/genmk95.pl
+++ b/win32/genmk95.pl
@@ -64,6 +64,7 @@ while (<$in>)
if (/^(.*?)(&&|\|\|)(.*)$/) # two commands separated by && or ||
{
my ($one, $sep, $two) = ($1, $2, $3);
+ $one =~ s/^\t(?:-(?!-))?\@?(.*?)$/\t$1/; # no -,@ in group recipes
LINE_CONT:
if ($two =~ /\\\s*$/)
{
@@ -77,6 +78,7 @@ LINE_CONT:
next;
}
# fall through - no need for special handling
+ s/^\t(?:-(?!-))?\@?(.*?)$/\t$1/; # no -,@ in group recipes
print $out "$_\n";
}
print $out "]\n" if ($inrec);