[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 8/9] Fix "make dist" in `pfinet'
From: |
Ludovic Courtès |
Subject: |
[PATCH 8/9] Fix "make dist" in `pfinet' |
Date: |
Sat, 17 Jul 2010 16:44:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
This patch isn’t perfect in that stale ‘.o’ files or similar in the
‘linux-src’ and ‘glue-include’ directories would end up in the tarball.
However, doing it the Right Way is somewhat tedious, so I consider this
patch OK as a first approach.
Thoughts?
Thanks,
Ludo’.
From f0bcfbf475831c16a8416c3499c7bb21d660a6fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Sat, 17 Jul 2010 16:12:33 +0200
Subject: [PATCH 8/9] Fix "make dist" in `pfinet'.
* pfinet/Makefile (lndist-linux-inet-files, lndist-linux-files,
lndist-asm-files, $(top_srcdir)/hurd-snap/$(dir)/linux-inet,
$(top_srcdir)/hurd-snap/$(dir)/linux,
$(top_srcdir)/hurd-snap/$(dir)/asm): Remove.
(lndist): Drop dependency on the `lndist-*' targets above. Link
`Makefile $(SRCS) $(LCLHDRS)' to the distribution directory. Copy
`linux-src' and `glue-include' to the distribution directory.
---
pfinet/Makefile | 22 ++++------------------
1 files changed, 4 insertions(+), 18 deletions(-)
diff --git a/pfinet/Makefile b/pfinet/Makefile
index 9bc97e8..13f7edb 100644
--- a/pfinet/Makefile
+++ b/pfinet/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 1995, 1996, 1997, 2000, 2007 Free Software Foundation, Inc.
+# Copyright (C) 1995, 1996, 1997, 2000, 2007, 2010 Free Software Foundation,
Inc.
#
# This file is part of the GNU Hurd.
#
@@ -130,20 +130,6 @@ socket-MIGSFLAGS = -imacros $(srcdir)/mutations.h
io_S.h ioServer.c socket_S.h socketServer.c: mutations.h
$(OBJS): config.h
-lndist: lndist-linux-inet-files lndist-linux-files lndist-asm-files
-
-lndist-linux-inet-files: $(top_srcdir)/hurd-snap/$(dir)/linux-inet
- ln $(addprefix $(srcdir)/linux-inet/,$(LINUXSRCS) $(UNUSEDSRC)
$(LINUXHDRS)) $<
-
-lndist-linux-files: $(top_srcdir)/hurd-snap/$(dir)/linux
- ln $(addprefix $(srcdir)/linux/,$(FROBBEDLINUXHEADERS)) $<
-
-lndist-asm-files: $(top_srcdir)/hurd-snap/$(dir)/asm
- ln $(addprefix $(srcdir)/asm/,$(ASMHEADERS)) $<
-
-$(top_srcdir)/hurd-snap/$(dir)/linux-inet:
- mkdir $@
-$(top_srcdir)/hurd-snap/$(dir)/linux:
- mkdir $@
-$(top_srcdir)/hurd-snap/$(dir)/asm:
- mkdir $@
+lndist: $(top_srcdir)/hurd-snap/$(dir)
+ ln Makefile $(SRCS) $(LCLHDRS) "$<"
+ cp -rv linux-src glue-include "$<"
--
1.7.0
pgpTO3HDeJT48.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 8/9] Fix "make dist" in `pfinet',
Ludovic Courtès <=