summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2018-03-15 20:43:27 +0100
committerAndras Timar <andras.timar@collabora.com>2020-05-04 22:42:23 +0200
commit1e011492f111396ba3b83fd2ebf4db4f3f97ecd4 (patch)
tree2b7199a04c13835c45e7b2ad7d5858deb07a6d70 /autogen.sh
parenta3c8945bd16472b473820e67bb86509d768d1caf (diff)
[cp] Collabora Office distro configs
Change-Id: I33bd382082ce40fd4db04a7fe3cb2458afac52f9
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 608e2b6ab82f..4e950ff76baa 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -91,6 +91,13 @@ sub read_args($)
print STDERR " $opt\n";
}
}
+ } elsif ( /^INCLUDE:(.*)/ ) {
+ # include another .conf into this one
+ my $config = "$src_path/distro-configs/$1.conf";
+ if (! -f $config) {
+ invalid_distro ($config, $1);
+ }
+ push @lst, read_args ($config);
} elsif ( substr($_, 0, 1) eq "#" ) {
# comment
} elsif ( length == 0 ) {