From c2f72a43431af8e33b3922114c960ec3c9dc3489 Mon Sep 17 00:00:00 2001 From: domna Date: Thu, 28 Sep 2023 08:18:47 +0200 Subject: [PATCH] Fixes makefile pickung up nxdl rules for `make nyaml` --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 812d138a04..829ce857a6 100644 --- a/Makefile +++ b/Makefile @@ -111,8 +111,8 @@ $(APPDEF_DIR)/%.nxdl.xml : $(APPDEF_DIR)/$(NYAML_SUBDIR)/%.yaml mv $(APPDEF_DIR)/$(NYAML_SUBDIR)/$*.nxdl.xml $@ NXDLS := $(foreach dir,$(NXDL_DIRS),$(wildcard $(dir)/*.nxdl.xml)) -nyaml : $(DIRS) $(NXDLS) - for file in $^; do\ +nyaml : $(DIRS) + for file in $(NXDLS); do\ mkdir -p "$${file%/*}/nyaml";\ nyaml2nxdl --input-file $${file};\ FNAME=$${file##*/};\