(linuxthreads-version): Extract correct number from Banner.
authordrepper <drepper>
Mon, 3 Aug 1998 16:39:34 +0000 (16:39 +0000)
committerdrepper <drepper>
Mon, 3 Aug 1998 16:39:34 +0000 (16:39 +0000)
linuxthreads/Makefile

index b7444e7..742be86 100644 (file)
@@ -21,7 +21,8 @@
 #
 subdir := linuxthreads
 
-linuxthreads-version=0.7
+linuxthreads-version := $(shell sed -n 's/^.*$(subdir)-\([0-9.]*\).*$$/\1/p' \
+                                   Banner)
 
 headers := pthread.h semaphore.h bits/semaphore.h
 distribute := internals.h queue.h restart.h spinlock.h