[PATCH] timezone: Fix tst-bz28707 Makefile rule

Adhemerval Zanella adhemerval.zanella@linaro.org
Mon Jan 10 13:18:54 GMT 2022


The $(testdata)/XT5 rule is ambiguous and it may not be correct
evaluated.
---
 timezone/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/timezone/Makefile b/timezone/Makefile
index 4e7f68a8fc..a789c22d26 100644
--- a/timezone/Makefile
+++ b/timezone/Makefile
@@ -124,7 +124,8 @@ $(testdata)/XT%: testdata/XT%
 	$(make-target-directory)
 	cp $< $@
 
-$(testdata)/XT%: testdata/gen-XT%.sh
+$(testdata)/XT5: testdata/gen-XT5.sh
+	$(make-target-directory)
 	$(SHELL) $< > $@.tmp
 	mv $@.tmp $@
 
-- 
2.32.0



More information about the Libc-alpha mailing list