summaryrefslogtreecommitdiff
path: root/source4/heimdal_build/asn1_deps.pl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-27 15:32:44 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-27 15:32:44 +0200
commitee114113d91db2a1e9f29918e7ab42a99acc89e4 (patch)
tree2ae4121715f7f0d0d54c9c8b6ebdcea74b42da70 /source4/heimdal_build/asn1_deps.pl
parent134af89c80abc01df68bc9f8fb8607b9c1d79e64 (diff)
downloadsamba-ee114113d91db2a1e9f29918e7ab42a99acc89e4.tar.gz
samba-ee114113d91db2a1e9f29918e7ab42a99acc89e4.tar.bz2
samba-ee114113d91db2a1e9f29918e7ab42a99acc89e4.zip
Use heimdalsrcdir variable for automatic dependencies.
(This used to be commit c5db384160aefc21141e94004faf4e89a204ff69)
Diffstat (limited to 'source4/heimdal_build/asn1_deps.pl')
-rwxr-xr-xsource4/heimdal_build/asn1_deps.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/heimdal_build/asn1_deps.pl b/source4/heimdal_build/asn1_deps.pl
index a2fbb5e3d0..488404fcce 100755
--- a/source4/heimdal_build/asn1_deps.pl
+++ b/source4/heimdal_build/asn1_deps.pl
@@ -29,11 +29,11 @@ if (not defined $options) {
my $header = "$dirname/$prefix.h";
-print "$header: $file bin/asn1_compile\n";
-print "\t\@echo \"Compiling ASN1 file $file\"\n";
-print "\t\@\$(builddir)/heimdal_build/asn1_compile_wrapper.sh \$(srcdir) \$(builddir) $dirname bin/asn1_compile $file $prefix $options\n\n";
+print "$header: \$(heimdalsrcdir)/$file bin/asn1_compile\n";
+print "\t\@echo \"Compiling ASN1 file \$(heimdalsrcdir)/$file\"\n";
+print "\t\@\$(builddir)/heimdal_build/asn1_compile_wrapper.sh \$(srcdir) \$(builddir) $dirname bin/asn1_compile \$(heimdalsrcdir)/$file $prefix $options\n\n";
-open(IN,$file) or die("Can't open $file: $!");
+open(IN,"heimdal/$file") or die("Can't open heimdal/$file: $!");
my @lines = <IN>;
close(IN);
foreach my $line (@lines) {