build: rebuild idl if the pidl compiler is changed bso8865_rebuild_idl_on_pidl_change_rb1
authorDavid Disseldorp <ddiss@samba.org>
Sun, 15 Apr 2012 23:00:46 +0000 (01:00 +0200)
committerDavid Disseldorp <ddiss@samba.org>
Mon, 16 Apr 2012 10:55:47 +0000 (12:55 +0200)
commit34da6ffc24234a4f1078a50803d391c70ff31a8e
treed2723b874bf03938620d4c6dde0f640931e87bdf
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