From 0aa5fd17887a4e07b85471d781ce9c229703380f Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 17 Jul 2010 15:59:25 +0200 Subject: Fix "make dist" in `include'. * include/Makefile (lndist): New target. Copy `Makefile' and `$(installhdrs)' to the distribution directory. --- include/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/Makefile b/include/Makefile index b923a1a2..de876802 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,6 +1,6 @@ # Makefile for include subdirectory. # -# Copyright (C) 1996,2002 Free Software Foundation, Inc. +# Copyright (C) 1996, 2002, 2010 Free Software Foundation, Inc. # Written by Michael I. Bushnell, p/BSG. # # This file is part of the GNU Hurd. @@ -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) $< -- cgit v1.2.3