[PATCH vkd3d v2] build: Clean widl generated headers if building with widl.

Zebediah Figura zfigura at codeweavers.com
Thu Aug 6 12:18:58 CDT 2020


Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
v2: fix the patch to actually work...

This patch can be easily ignored...

 Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 8b8bfca..76483d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -214,6 +214,9 @@ vkd3d_v_widl_ = $(vkd3d_v_widl_ at AM_DEFAULT_V@)
 vkd3d_v_widl_0 = @echo "  WIDL    " $@;
 vkd3d_v_widl_1 =
 
+if HAVE_WIDL
+CLEANFILES += $(widl_headers)
+endif
 EXTRA_DIST += $(widl_headers) $(widl_headers:.h=.idl)
 $(widl_headers): %.h: %.idl
 if HAVE_WIDL
-- 
2.27.0




More information about the wine-devel mailing list