aboutsummaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makerules b/Makerules
index edbf8a5b81..6f5e43320c 100644
--- a/Makerules
+++ b/Makerules
@@ -297,7 +297,8 @@ $(common-objpfx)Versions.all: $(..)scripts/firstversions.awk \
{ while read lib version setname; do \
test -z "$$setname" || echo "$$lib : $$setname"; \
done < $(word 2,$^); \
- cat $(filter-out $< $(word 2,$^),$^); \
+ cat $(filter-out $< $(word 2,$^),$^) \
+ | $(preprocess-versions); \
} | LC_ALL=C $(AWK) -f $< > $@T
mv -f $@T $@
$(common-objpfx)sysd-versions: $(common-objpfx)Versions.all \
@@ -306,9 +307,11 @@ $(common-objpfx)sysd-versions: $(common-objpfx)Versions.all \
$(wildcard $(sysdirs:%=%/Versions)) \
$(sysd-versions-force)
{ echo 'sysd-versions-subdirs = $(all-subdirs) $(config-sysdirs)' ; \
- LC_ALL=C $(AWK) -v buildroot=$(common-objpfx) -v defsfile=$< \
- -v move_if_change='$(move-if-change)' \
- -f $(filter-out $< $(sysd-versions-force),$^); \
+ cat $(filter-out $< $(word 2,$^) $(sysd-versions-force),$^) \
+ | $(preprocess-versions) \
+ | LC_ALL=C $(AWK) -v buildroot=$(common-objpfx) -v defsfile=$< \
+ -v move_if_change='$(move-if-change)' \
+ -f $(word 2,$^); \
} > $@T
mv -f $@T $@
endif # avoid-generated