1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/source4/heimdal_build/et_deps.pl
2007-10-10 13:31:04 -05:00

16 lines
395 B
Perl
Executable File

#!/usr/bin/perl
use File::Basename;
my $file = shift;
my $dirname = dirname($file);
my $basename = basename($file);
my $header = $file; $header =~ s/\.et$/.h/;
my $source = $file; $source =~ s/\.et$/.c/;
print "$source: $file bin/compile_et\n";
print "\t\@echo \"Compiling error table $file\"\n";
print "\t\@cd $dirname && ../../../bin/compile_et $basename\n\n";
print "$header: $source\n";