s4:heimdal_build: fix the build with --enable-automatic-dependencies
authorStefan Metzmacher <metze@samba.org>
Mon, 14 Sep 2009 07:58:19 +0000 (09:58 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 14 Sep 2009 08:01:46 +0000 (10:01 +0200)
We need to create the header file before we generate the source file.

metze

source4/heimdal_build/asn1_deps.pl

index 3b187558d1c1da644f2289bd9f36f02709cda6a5..504f66d535ab115d85aba569b25d3a53f3264972 100755 (executable)
@@ -35,7 +35,7 @@ print "\t\@\$(heimdalbuildsrcdir)/asn1_compile_wrapper.sh \$(builddir) $dirname
 print "$headerx: $output_file\n";
 print "$header: $headerx\n";
 print "\t\@cp $headerx $header\n";
-print "$x_file: $output_file\n";
+print "$x_file: $header\n";
 print "$c_file: $x_file\n";
 print "\t\@echo \"#include \\\"config.h\\\"\" > $c_file && cat $x_file >> $c_file\n\n";