diff options
author | Roland McGrath <roland@gnu.org> | 1996-05-11 21:32:16 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-05-11 21:32:16 +0000 |
commit | 44a65710c09be29e86c139c2e1a0d10ecfb34d07 (patch) | |
tree | 8a639be2075f133b3cff1b74200e402f86031936 | |
parent | e1f66ad52a3853778c08de732b0d0cc71c4a2f35 (diff) |
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).
-rw-r--r-- | hurd/Makefile | 8 |
1 files 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) $< $@ |