summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-14 21:39:19 +0000
committerRoland McGrath <roland@gnu.org>1996-05-14 21:39:19 +0000
commita0f0ed075f62541d9820447126d72e0392b752c4 (patch)
treea171cdc40bd9670ad95d13ad36a5c55205372d71
parent5cfbdd924b60b5f8ffdf1c46f31e574fae882937 (diff)
(install): Depend on $(includedir)/hurd and add rule to create it.
-rw-r--r--hurd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/hurd/Makefile b/hurd/Makefile
index f2785b1a..5d90db5b 100644
--- a/hurd/Makefile
+++ b/hurd/Makefile
@@ -25,5 +25,7 @@ LCLHDRS = hurd_types.h ioctl_types.h paths.h shared.h version.h
include ../Makeconf
# XXX not ideal
-install: $(patsubst $(srcdir)/%,$(includedir)/hurd/%,$(hdrs))
+install: $(includedir)/hurd \
+ $(patsubst $(srcdir)/%,$(includedir)/hurd/%,$(hdrs))
$(includedir)/hurd/%: $(srcdir)/%; $(INSTALL_DATA) $< $@
+$(includedir)/hurd:;mkdir -p $@