Allow dots in .mk file section headers, fix docstring.
authorJelmer Vernooij <jelmer@samba.org>
Wed, 21 May 2008 10:02:02 +0000 (12:02 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 21 May 2008 10:02:02 +0000 (12:02 +0200)
source/build/make/python.mk
source/build/smb_build/config_mk.pm

index c243b88e27ba9e466a6e6ed1f59e4a84aaed109c..7d957fb108a99b87229ea715dbb77d7b6bc9a031 100644 (file)
@@ -29,7 +29,7 @@ $(call python_module_template,$(1))
 endef
 
 # Python C module
-# Arguments: Module path, object files
+# Arguments: File name, dependencies, link list
 define python_c_module_template
 
 $$(pythonbuilddir)/$(1): $(2) ; 
index 88e24a58765104f2e2abf1635d320f734f711d95..d28adb2e7271420df94e451c9dd72f640c6d8363 100644 (file)
@@ -197,7 +197,7 @@ sub run_config_mk($$$$)
                        $prev = "";
                }
 
-               if ($line =~ /^\[([-a-zA-Z0-9_:]+)\][\t ]*$/) 
+               if ($line =~ /^\[([-a-zA-Z0-9_.:]+)\][\t ]*$/) 
                {
                        $section = $1;
                        $infragment = 0;