diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-02-23 12:44:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:52:05 -0500 |
commit | d3bcaf66a8568fc19a3013f9dc974fb08ee3a39a (patch) | |
tree | 2c567a9bf3c8f28bc19c546dd0cfad2aa0dc816e /source4/build/smb_build | |
parent | 559ba6f12aacf3639ad6268490bc8ed33b1fb803 (diff) | |
download | samba-d3bcaf66a8568fc19a3013f9dc974fb08ee3a39a.tar.gz samba-d3bcaf66a8568fc19a3013f9dc974fb08ee3a39a.tar.bz2 samba-d3bcaf66a8568fc19a3013f9dc974fb08ee3a39a.zip |
r13654: Move some more stuff out of include/
(This used to be commit 2ec7bba03a2edf713004941e9ed74798f5cf8d32)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r-- | source4/build/smb_build/header.pm (renamed from source4/build/smb_build/smb_build_h.pm) | 10 | ||||
-rw-r--r-- | source4/build/smb_build/main.pl | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/source4/build/smb_build/smb_build_h.pm b/source4/build/smb_build/header.pm index 3b178c8226..456c29368a 100644 --- a/source4/build/smb_build/smb_build_h.pm +++ b/source4/build/smb_build/header.pm @@ -4,7 +4,7 @@ # Copyright (C) Stefan (metze) Metzmacher 2004 # Released under the GNU GPL -package smb_build_h; +package header; use strict; sub _add_define_section($) @@ -85,10 +85,10 @@ sub create_smb_build_h($$) { my ($CTX, $file) = @_; - open(SMB_BUILD_H,">$file") || die ("Can't open `$file'\n"); - print SMB_BUILD_H "/* autogenerated by build/smb_build/main.pl */\n"; - print SMB_BUILD_H _prepare_build_h($CTX); - close(SMB_BUILD_H); + open(BUILD_H,">$file") || die ("Can't open `$file'\n"); + print BUILD_H "/* autogenerated by build/smb_build/main.pl */\n"; + print BUILD_H _prepare_build_h($CTX); + close(BUILD_H); print __FILE__.": creating $file\n"; } diff --git a/source4/build/smb_build/main.pl b/source4/build/smb_build/main.pl index 2b6594d809..bec1be791c 100644 --- a/source4/build/smb_build/main.pl +++ b/source4/build/smb_build/main.pl @@ -6,7 +6,7 @@ # Released under the GNU GPL use smb_build::makefile; -use smb_build::smb_build_h; +use smb_build::header; use smb_build::input; use smb_build::config_mk; use smb_build::output; @@ -79,6 +79,6 @@ foreach my $key (values %$OUTPUT) { } $mkenv->write("Makefile"); -smb_build_h::create_smb_build_h($OUTPUT, "include/smb_build.h"); +header::create_smb_build_h($OUTPUT, "include/build.h"); 1; |