From 73574d231840ed967fb7b06c48a542e9b57fe57f Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Sun, 14 Jul 1996 01:06:47 +0000 Subject: Rewritten to get the right things installed in the right places. --- hurd/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'hurd') 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 $@ -- cgit v1.2.3