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:58:47 -05:00

14 lines
374 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 "$header $source: $file bin/compile_et\n";
print "\t\@echo \"Compiling error table $file\"\n";
print "\t\@cd $dirname && ../../../bin/compile_et $basename\n\n";