r9025: fix the build when it was stoped and you don't run make clean before make all
authorStefan Metzmacher <metze@samba.org>
Thu, 4 Aug 2005 01:30:21 +0000 (01:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:31:08 +0000 (13:31 -0500)
metze

source/heimdal_build/asn1_deps.pl

index 4cff3e2fae41a1d67b91cbfdfc87beb658e31498..f102a6c663d71726d05caf0c53b1d771c667d3a9 100755 (executable)
@@ -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);