bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 6/9] Fix "make dist" in `libthreads'


From: Ludovic Courtès
Subject: [PATCH 6/9] Fix "make dist" in `libthreads'
Date: Sat, 17 Jul 2010 16:39:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

From 8274c9e197f7d9edb44c0e22ab2cf7f1d83cbeff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <address@hidden>
Date: Sat, 17 Jul 2010 16:01:52 +0200
Subject: [PATCH 6/9] Fix "make dist" in `libthreads'.

* libthreads/Makefile (lndist, lndist-map-file): New targets.  Link
  `libthreads.map' to the distribution directory.
---
 libthreads/Makefile |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/libthreads/Makefile b/libthreads/Makefile
index ee86236..e9fa571 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
-- 
1.7.0

Attachment: pgpYziorP8wJ0.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]