aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Makerules8
2 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 77a667f..af92f23 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+1998-11-13 Ulrich Drepper <drepper@cygnus.com>
+
+ * Makerules (Versions.all): Generate this file from all Versions.def
+ files.
+ (sysd-versions): Use Versions.all instead of Versions.def.
+
1998-11-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
diff --git a/Makerules b/Makerules
index 3bb4617..c18a569 100644
--- 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)