summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/config_mk.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-18 13:18:42 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-18 13:18:42 +0100
commit94c937ffb0109effa55117c525db941194893091 (patch)
tree74ddccd5ac76bb7808a79ee3ff54d303375786ce /source4/build/smb_build/config_mk.pm
parent4e750552b789054f094c3dc42f091cebdc4f715e (diff)
downloadsamba-94c937ffb0109effa55117c525db941194893091.tar.gz
samba-94c937ffb0109effa55117c525db941194893091.tar.bz2
samba-94c937ffb0109effa55117c525db941194893091.zip
Provide variable with current directory.
(This used to be commit 3116142b6116a84c63b4805901775826b1ca0af7)
Diffstat (limited to 'source4/build/smb_build/config_mk.pm')
-rw-r--r--source4/build/smb_build/config_mk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/smb_build/config_mk.pm b/source4/build/smb_build/config_mk.pm
index aa075490bc..027c7ff6d6 100644
--- a/source4/build/smb_build/config_mk.pm
+++ b/source4/build/smb_build/config_mk.pm
@@ -247,6 +247,7 @@ sub run_config_mk($$$$)
$subdir =~ s/^\.$//g;
$subdir =~ s/^\.\///g;
$subdir .= "/" if ($subdir ne "");
+ $makefile .= "basedir := $subdir\n";
$makefile .= run_config_mk($input, $srcdir, $builddir, $subdir.$subfile);
next;
}
@@ -265,7 +266,6 @@ sub run_config_mk($$$$)
$infragment = 1;
next;
}
-
# Assignment
if ($line =~ /^([a-zA-Z0-9_]+)[\t ]*=(.*)$/) {