build: rebuild idl if the pidl compiler is changed bso8865_rebuild_idl_on_pidl_change
authorDavid Disseldorp <ddiss@samba.org>
Sun, 15 Apr 2012 23:00:46 +0000 (01:00 +0200)
committerDavid Disseldorp <ddiss@samba.org>
Sun, 15 Apr 2012 23:00:46 +0000 (01:00 +0200)
commit5badbf419cd21ee68583270ab6191d4a89ebf495
treeaf49907f96245209938677690e0d51373ac170a6
parent89e998412fe07a01f9c79330973f62d909dc2da2
build: rebuild idl if the pidl compiler is changed

In determining whether to compile a given .idl source file, build_idl.sh
currently checks:
a) that all build output files exist
b) build output files are newer than their corresponding .idl source

The .idl is rebuilt if either of the above conditions is false.
This logic does not catch the case where the pidl compiler itself is
changed. An IDL rebuild should occur in such a case.

https://bugzilla.samba.org/show_bug.cgi?id=8865
librpc/build_idl.sh