2 # Expand the include lines in a Makefile
3 # Copyright (C) 2009 Jelmer Vernooij <jelmer@samba.org>
4 # Published under the GNU GPLv3 or later
12 die("Recursion in $f?") if ($depth > 100);
13 open(IN
, $f) or die("Unable to open $f: $!");
16 if ($l =~ /^include (.*)$/) {
27 print STDERR
"Usage: $0 Makefile.in > Makefile-noincludes.in\n";