summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-07-17 16:01:52 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-08-01 18:59:36 +0200
commit7d3b4e27bce01267149b7909dc3ab6c0ab72fd80 (patch)
tree2278cd003a7118487c40c34619611d6e62393fa3
parent5054d2523b99c4f46d0fa1b95a37dd1d99842f1e (diff)
Fix "make dist" in `libthreads'.
* libthreads/Makefile (lndist, lndist-map-file): New targets. Link `libthreads.map' to the distribution directory.
-rw-r--r--libthreads/Makefile7
1 files changed, 6 insertions, 1 deletions
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