diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-07-14 01:06:47 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-07-14 01:06:47 +0000 |
commit | 73574d231840ed967fb7b06c48a542e9b57fe57f (patch) | |
tree | f91715b1afe0f56dc1c57e7afca6158b0e93ec24 /hurd/Makefile | |
parent | 24cd4d39025695c0723a811ae70def08204bb423 (diff) |
Rewritten to get the right things installed in the right places.
Diffstat (limited to 'hurd/Makefile')
-rw-r--r-- | hurd/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/hurd/Makefile b/hurd/Makefile index 392234be..d6e71075 100644 --- a/hurd/Makefile +++ b/hurd/Makefile @@ -19,13 +19,16 @@ dir := hurd makemode := misc hdrs = $(wildcard $(srcdir)/*.defs $(srcdir)/*.h) -DIST_FILES = subsystems $(hdrs) -LCLHDRS = hurd_types.h ioctl_types.h paths.h shared.h version.h +DIST_FILES = subsystems $(notdir $(hdrs)) + +INSTHDRS = hurd_types.h ioctl_types.h paths.h shared.h version.h + $(notdir $(wildcard $(srcdir)/*.defs)) include ../Makeconf -# XXX not ideal install-hdrs install: $(includedir)/hurd \ - $(patsubst $(srcdir)/%,$(includedir)/hurd/%,$(hdrs)) + $(addprefix $(includedir)/hurd,$(INSTHDRS)) + $(includedir)/hurd/%: $(srcdir)/%; $(INSTALL_DATA) $< $@ + $(includedir)/hurd:;mkdir -p $@ |