mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
3234. [bug] 'make depend' produced invalid makefiles. [RT #26830]
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -1,3 +1,5 @@
|
||||
3234. [bug] 'make depend' produced invalid makefiles. [RT #26830]
|
||||
|
||||
3233. [bug] 'rndc freeze/thaw' didn't work for inline zones.
|
||||
[RT #26632]
|
||||
|
||||
|
@@ -140,25 +140,37 @@ if [ X"${MKDEPPROG}" != X ]; then
|
||||
else
|
||||
@MKDEPCC@ @MKDEPCFLAGS@ ${newargs} |
|
||||
sed "
|
||||
s; \./; ;g
|
||||
s; \\./; ;g
|
||||
s; \\\\; ;g
|
||||
@LIBTOOL_MKDEP_SED@
|
||||
$SED" |
|
||||
awk '{
|
||||
if ($1 != prev) {
|
||||
awk '$1 ~ /:$/ {
|
||||
if (rec != "")
|
||||
print rec;
|
||||
rec = $0;
|
||||
prev = $1;
|
||||
}
|
||||
else {
|
||||
if (length(rec $2) > 78) {
|
||||
print rec;
|
||||
rec = $0;
|
||||
}
|
||||
print rec;
|
||||
if (NF == 1)
|
||||
rec = $1;
|
||||
else
|
||||
rec = rec " " $2
|
||||
rec = $1 " " $2;
|
||||
for (i = 3; i <= NF; i++) {
|
||||
if (length(rec $i) > 76) {
|
||||
print rec " \\";
|
||||
rec = " " $i;
|
||||
} else {
|
||||
rec = rec " " $i;
|
||||
}
|
||||
}
|
||||
next;
|
||||
}
|
||||
{
|
||||
for (i = 1; i <= NF; i++) {
|
||||
if (length(rec $i) > 76) {
|
||||
print rec, "\\";
|
||||
rec = " " $i;
|
||||
} else {
|
||||
rec = rec " " $i;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
END {
|
||||
print rec
|
||||
}' >> $TMP
|
||||
|
Reference in New Issue
Block a user