Support 'mkinclude' command in .mk files.
authorJelmer Vernooij <jelmer@samba.org>
Sat, 9 Feb 2008 15:01:53 +0000 (16:01 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 9 Feb 2008 15:01:53 +0000 (16:01 +0100)
source/build/smb_build/config_mk.pm

index aa075490bce071bccec5935626372cbdd89b0c40..b7dc9697a9667f74bc113de9e1004e408a8041d6 100644 (file)
@@ -251,6 +251,8 @@ sub run_config_mk($$$$)
                        next;
                }
 
                        next;
                }
 
+               $line =~ s/^mkinclude /include /;
+
                # empty line
                if ($line =~ /^[ \t]*$/) {
                        $section = "GLOBAL";
                # empty line
                if ($line =~ /^[ \t]*$/) {
                        $section = "GLOBAL";