Use variables for IDL file paths.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 27 May 2008 16:38:05 +0000 (18:38 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 27 May 2008 16:38:05 +0000 (18:38 +0200)
(This used to be commit 683ba6de41b3fecc14c18502ff82b4fa617618e5)

source4/librpc/idl-deps.pl

index e630ee4f61f398c3f0ec57ed1c80c2bcb7471e3a..49fba4c935f50ce0a0197117353e15d43c4b7976 100755 (executable)
@@ -4,8 +4,8 @@ use strict;
 my %vars = ();
 
 foreach(@ARGV) {
-       push (@{$vars{IDL_FILES}}, $_);
        my $b = $_; $b =~ s/.*\/(.*?).idl$/$1/;
+       push (@{$vars{IDL_FILES}}, "\$(librpcsrcdir)/idl/$b.idl");
        push (@{$vars{IDL_HEADER_FILES}}, "\$(librpcsrcdir)/gen_ndr/$b.h");
        push (@{$vars{IDL_NDR_PARSE_H_FILES}}, "\$(librpcsrcdir)/gen_ndr/ndr_$b.h");
        push (@{$vars{IDL_NDR_PARSE_C_FILES}}, "\$(librpcsrcdir)/gen_ndr/ndr_$b.c");