summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-06-12 16:21:00 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-06-15 09:14:48 (GMT)
commitb3743d1df735d4b46f45e034818bbfe45bf8d22e (patch)
treef0a095d8d6d1ea50b197a2dbadfe49880f230e90 /configure
parent034259d7139f4088806a114a4ec5074cc28d46e0 (diff)
downloadQt-b3743d1df735d4b46f45e034818bbfe45bf8d22e.zip
Qt-b3743d1df735d4b46f45e034818bbfe45bf8d22e.tar.gz
Qt-b3743d1df735d4b46f45e034818bbfe45bf8d22e.tar.bz2
properly indent embedded awk code
Reviewed-by: TrustMe
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure22
1 files changed, 11 insertions, 11 deletions
diff --git a/configure b/configure
index 4cf7499..ece117b 100755
--- a/configure
+++ b/configure
@@ -7035,9 +7035,9 @@ BEGIN {
FNR == 1 {
if ( input_file ) {
- if ( ! target_file )
- target_file = third
- print input_file >target_file
+ if ( ! target_file )
+ target_file = third
+ print input_file >target_file
}
matched_target = 0
@@ -7048,32 +7048,32 @@ FNR == 1 {
/^(TARGET.*=)/ {
if ( \$3 == "moc" || \$3 ~ /^Qt/ ) {
- target_file = first
+ target_file = first
matched_target = 1
}
}
matched_target == 0 && /^(TEMPLATE.*=)/ {
if ( \$3 == "subdirs" )
- target_file = second
+ target_file = second
else if ( \$3 == "lib" )
- template_lib = 1
+ template_lib = 1
else
- target_file = third
+ target_file = third
}
matched_target == 0 && template_lib == 1 && /^(CONFIG.*=)/ {
if ( \$0 ~ /plugin/ )
target_file = third
else
- target_file = second
+ target_file = second
}
END {
if ( input_file ) {
- if ( ! target_file )
- target_file = third
- print input_file >>target_file
+ if ( ! target_file )
+ target_file = third
+ print input_file >>target_file
}
}