summaryrefslogtreecommitdiff
path: root/source4/heimdal_build/asn1_deps.pl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-08-04 01:30:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:08 -0500
commitd0868120d3c10f341fa4d5c877674589b1391d4d (patch)
treeddfa44fb0c1f5fe0673e0a21163b7d43b3c5ed06 /source4/heimdal_build/asn1_deps.pl
parentaa7d44c0d998e642d7b5b001834797d38faebfde (diff)
downloadsamba-d0868120d3c10f341fa4d5c877674589b1391d4d.tar.gz
samba-d0868120d3c10f341fa4d5c877674589b1391d4d.tar.bz2
samba-d0868120d3c10f341fa4d5c877674589b1391d4d.zip
r9025: fix the build when it was stoped and you don't run make clean before make all
metze (This used to be commit 9a920d18bdfc8fe464989fc604e9e5374ee39329)
Diffstat (limited to 'source4/heimdal_build/asn1_deps.pl')
-rwxr-xr-xsource4/heimdal_build/asn1_deps.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/heimdal_build/asn1_deps.pl b/source4/heimdal_build/asn1_deps.pl
index 4cff3e2fae..f102a6c663 100755
--- a/source4/heimdal_build/asn1_deps.pl
+++ b/source4/heimdal_build/asn1_deps.pl
@@ -24,8 +24,9 @@ foreach(<IN>) {
if (/^([A-Za-z0-9_-]+)[ \t]*::= /) {
my $output = $1;
$output =~ s/-/_/g;
- print "$dirname/asn1_$output.c: $header\n";
- print "\t\@mv $dirname/asn1_$output.x $dirname/asn1_$output.c\n\n";
+ print "$dirname/asn1_$output.x: $header\n";
+ print "$dirname/asn1_$output.c: $dirname/asn1_$output.x\n";
+ print "\t\@cp $dirname/asn1_$output.x $dirname/asn1_$output.c\n\n";
}
}
close(IN);