[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/9] Fix "make dist" in `include'
From: |
Thomas Schwinge |
Subject: |
Re: [PATCH 4/9] Fix "make dist" in `include' |
Date: |
Fri, 06 Apr 2012 12:34:33 +0200 |
User-agent: |
Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu) |
Hi!
On Sat, 17 Jul 2010 16:38:44 +0200, ludo@gnu.org (Ludovic
=?iso-8859-1?Q?Court=E8s?=) wrote:
> From 50968edf6a4ee8af6ff63e2ee4a5b4d97013ff3d Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
> Date: Sat, 17 Jul 2010 15:59:25 +0200
> Subject: [PATCH 4/9] Fix "make dist" in `include'.
>
> * include/Makefile (lndist): New target. Copy `Makefile' and
> `$(installhdrs)' to the distribution directory.
> ---
> include/Makefile | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/include/Makefile b/include/Makefile
> index b923a1a..de87680 100644
> --- a/include/Makefile
> +++ b/include/Makefile
> @@ -32,3 +32,6 @@ install-headers install: $(installhdrs:%=$(includedir)/%)
> $(includedir)/%: $(srcdir)/%
> @$(MKINSTALLDIRS) $(@D)
> $(INSTALL_DATA) $< $@
> +
> +lndist: $(top_srcdir)/hurd-snap/$(dir)
> + cp -r --parent Makefile $(installhdrs) $<
That got committed long ago (and later on another fix on top of it). But
for em this doesn't work: sources are in /some/where, and running it from
/some/where.build, it puts the files include/* files into
/some/where/where/include instead of /some/where/include.
It works correctly for me when I remove that special lndist rule and let
the generic rules do their work. Why not for you?
Grüße,
Thomas
pgpsiZv3_6RQC.pgp
Description: PGP signature
- Re: [PATCH 4/9] Fix "make dist" in `include',
Thomas Schwinge <=