diff mbox series

[26/27] build: set platform_defs.h.in dependency correctly

Message ID 20201015072155.1631135-27-david@fromorbit.com (mailing list archive)
State New, archived
Headers show
Series xfsprogs: xfs_buf unification and AIO | expand

Commit Message

Dave Chinner Oct. 15, 2020, 7:21 a.m. UTC
From: Dave Chinner <dchinner@redhat.com>

So that changing this file causes configure to be re-run and
platform_defs.h to be rebuilt from the new template.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 0edc2700933d..7cedac5aabf2 100644
--- a/Makefile
+++ b/Makefile
@@ -130,7 +130,7 @@  configure: configure.ac
 include/builddefs: configure
 	./configure $$LOCAL_CONFIGURE_OPTIONS
 
-include/platform_defs.h: include/builddefs
+include/platform_defs.h: include/builddefs include/platform_defs.h.in
 ## Recover from the removal of $@
 	@if test -f $@; then :; else \
 		rm -f include/builddefs; \