From 44a65710c09be29e86c139c2e1a0d10ecfb34d07 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 11 May 1996 21:32:16 +0000 Subject: Quick hack for installing headers prior to building libc. (hdrs): New variable, do wildcarding in $(srcdir). (DIST_FILES): Use that. (install): Install $(hdrs) in $(includedir)/hurd from $(srcdir). --- hurd/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hurd/Makefile b/hurd/Makefile index d020bd09..f2785b1a 100644 --- a/hurd/Makefile +++ b/hurd/Makefile @@ -1,4 +1,4 @@ -# +# # Copyright (C) 1993, 1994, 1995, 1996 Free Software Foundation # # This program is free software; you can redistribute it and/or @@ -18,8 +18,12 @@ dir := hurd makemode := misc -DIST_FILES = *.defs subsystems *.h +hdrs = $(wildcard $(srcdir)/*.defs $(srcdir)/*.h) +DIST_FILES = subsystems $(hdrs) LCLHDRS = hurd_types.h ioctl_types.h paths.h shared.h version.h include ../Makeconf +# XXX not ideal +install: $(patsubst $(srcdir)/%,$(includedir)/hurd/%,$(hdrs)) +$(includedir)/hurd/%: $(srcdir)/%; $(INSTALL_DATA) $< $@ -- cgit v1.2.3