summaryrefslogtreecommitdiff
path: root/Make-dist
diff options
context:
space:
mode:
Diffstat (limited to 'Make-dist')
-rw-r--r--Make-dist6
1 files changed, 1 insertions, 5 deletions
diff --git a/Make-dist b/Make-dist
index 9ec795e9eb..d3881429df 100644
--- a/Make-dist
+++ b/Make-dist
@@ -105,11 +105,7 @@ foo:=$(shell echo '+tsrcs=$(+tsrcs)'>&2)
foo:=$(shell echo foobie, dammit! >&2)
ifndef tardir
-rel+vers := $(shell sed -n -e 's/^.*RELEASE.*\"\([^"]*\)";$$/\1/p' \
- -e 's/^.*VERSION.*\"\([^"]*\)";$$/\1/p' \
- < $(..)version.h)
-release := $(word 1,$(rel+vers))
-version := $(word 2,$(rel+vers))
+-include $(common-objpfx)version.mk
export tardir := glibc-$(version)
endif