From 7d3b4e27bce01267149b7909dc3ab6c0ab72fd80 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 17 Jul 2010 16:01:52 +0200 Subject: Fix "make dist" in `libthreads'. * libthreads/Makefile (lndist, lndist-map-file): New targets. Link `libthreads.map' to the distribution directory. --- libthreads/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libthreads/Makefile b/libthreads/Makefile index ee862366..e9fa571b 100644 --- a/libthreads/Makefile +++ b/libthreads/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 1994,95,96,97,2000 Free Software Foundation, Inc. +# Copyright (C) 1994,95,96,97,2000,2010 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as @@ -57,4 +57,9 @@ ifeq ($(VERSIONING),yes) # where ld will read it as a linker script. $(libname).so.$(hurd-version): $(srcdir)/$(libname).map +lndist: lndist-map-file + +lndist-map-file: $(top_srcdir)/hurd-snap/$(dir) + ln $(addprefix $(srcdir)/,$(libname).map) $< + endif -- cgit v1.2.3