mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-17 18:40:14 +00:00
22 lines
324 B
Awk
22 lines
324 B
Awk
|
BEGIN {
|
||
|
print "texis = \\";
|
||
|
for(x = 1; x < ARGC; x++)
|
||
|
{
|
||
|
input[0] = ARGV[x];
|
||
|
print ARGV[x], "\\";
|
||
|
for (s = 0; s >= 0; s--)
|
||
|
{
|
||
|
while ((getline < input[s]) > 0)
|
||
|
{
|
||
|
if ($1 == "@include")
|
||
|
{
|
||
|
input[++s] = $2;
|
||
|
print $2, "\\";
|
||
|
}
|
||
|
}
|
||
|
close(input[stackptr]);
|
||
|
}
|
||
|
}
|
||
|
print "";
|
||
|
}
|