(Versions.all): Generate this file from all Versions.def files.
authordrepper <drepper>
Fri, 13 Nov 1998 14:06:23 +0000 (14:06 +0000)
committerdrepper <drepper>
Fri, 13 Nov 1998 14:06:23 +0000 (14:06 +0000)
(sysd-versions): Use Versions.all instead of Versions.def.

Makerules

index 3bb4617..c18a569 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -276,7 +276,13 @@ ifneq ($(sysd-versions-subdirs),$(all-subdirs) $(config-sysdirs))
 sysd-versions-force = FORCE
 FORCE:
 endif
-$(common-objpfx)sysd-versions: $(..)Versions.def $(..)scripts/versions.awk \
+$(common-objpfx)Versions.all: $(..)Versions.def \
+                             $(wildcard $(add-ons:%=$(..)%/Versions.def))
+       cat $^ > $@T
+       mv -f $@T $@
+common-generated += $(common-objpfx)Versions.all
+$(common-objpfx)sysd-versions: $(common-objpfx)Versions.all \
+                              $(..)scripts/versions.awk \
                               $(wildcard $(all-subdirs:%=$(..)%/Versions)) \
                               $(wildcard $(sysdirs:%=%/Versions)) \
                               $(sysd-versions-force)