summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/config_mk.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-23 22:16:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:27 -0500
commit91f4e46dbfd688df0bc34a3f9782dc5b1361741d (patch)
tree37a9113bd546877682098404138621be6eeeabf5 /source4/build/smb_build/config_mk.pm
parent69578c8b8c7a28de11c4023ce57960425f22a558 (diff)
downloadsamba-91f4e46dbfd688df0bc34a3f9782dc5b1361741d.tar.gz
samba-91f4e46dbfd688df0bc34a3f9782dc5b1361741d.tar.bz2
samba-91f4e46dbfd688df0bc34a3f9782dc5b1361741d.zip
r9549: Rerun ./config.status if one of the .mk files changes
(This used to be commit 729b8bd7832b0db19d68dd3348b1b7103ab135fb)
Diffstat (limited to 'source4/build/smb_build/config_mk.pm')
-rw-r--r--source4/build/smb_build/config_mk.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/source4/build/smb_build/config_mk.pm b/source4/build/smb_build/config_mk.pm
index c5a035f375..49b93a5d98 100644
--- a/source4/build/smb_build/config_mk.pm
+++ b/source4/build/smb_build/config_mk.pm
@@ -6,7 +6,7 @@
### Released under the GNU GPL ###
###########################################################
-package config_mk;
+package smb_build::config_mk;
use smb_build::input;
use strict;
@@ -33,6 +33,10 @@ my %attribute_types = (
"MANPAGE" => "string"
);
+use vars qw(@parsed_files);
+
+@parsed_files = ();
+
###########################################################
# The parsing function which parses the file
#
@@ -48,6 +52,8 @@ sub run_config_mk($$)
my $infragment = 0;
my $section = "GLOBAL";
my $makefile = "";
+
+ push (@parsed_files, $filename);
open(CONFIG_MK, $filename) or die("Can't open `$filename'\n");
my @lines = <CONFIG_MK>;