diff options
author | Steven Knight <knight@baldmt.com> | 2001-09-07 11:33:19 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2001-09-07 11:33:19 (GMT) |
commit | 1833dc465fcf538242955e4ce133dbe8b7cefc9f (patch) | |
tree | 696bc5babb89e64f0fff982262ca4becb4411541 /Construct | |
parent | 0e9a7dc0f7c041917cbbc273daf49ffcd315dfef (diff) | |
download | SCons-1833dc465fcf538242955e4ce133dbe8b7cefc9f.zip SCons-1833dc465fcf538242955e4ce133dbe8b7cefc9f.tar.gz SCons-1833dc465fcf538242955e4ce133dbe8b7cefc9f.tar.bz2 |
Add a man page.
Diffstat (limited to 'Construct')
-rw-r--r-- | Construct | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -14,10 +14,11 @@ Default qw( . ); # # An internal "whereis" routine to figure out if we have a -# given program available. +# given program available. Put it in the "cons::" package +# so subsidiary Conscript files can get at it easily, too. # use Config; -sub whereis { +sub cons::whereis { my $file = shift; foreach my $dir (split(/$Config{path_sep}/, $ENV{PATH})) { $f = File::Spec->catfile($dir, $file); @@ -32,10 +33,10 @@ sub whereis { # This will allow people to still do SCons work even if they # don't have Aegis or RPM installed, for example. # -$aegis = whereis('aegis'); -$aesub = whereis('aesub'); -$rpm = whereis('rpm'); -$jw = whereis('jw'); +$aegis = cons::whereis('aegis'); +$aesub = cons::whereis('aesub'); +$rpm = cons::whereis('rpm'); +$jw = cons::whereis('jw'); # # Now grab the information that we "build" into the files (using sed). |