summaryrefslogtreecommitdiff
path: root/include/Makefile
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-07-17 15:59:25 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-08-01 18:58:27 +0200
commit0aa5fd17887a4e07b85471d781ce9c229703380f (patch)
treeefa69dccb01e80f8bff9b618f9caab6ce1653311 /include/Makefile
parent5b512c949c76a0736f09be15af7070a78f60ab00 (diff)
Fix "make dist" in `include'.
* include/Makefile (lndist): New target. Copy `Makefile' and `$(installhdrs)' to the distribution directory.
Diffstat (limited to 'include/Makefile')
-rw-r--r--include/Makefile5
1 files changed, 4 insertions, 1 deletions
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) $<