summaryrefslogtreecommitdiff
path: root/hurd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/Makefile')
-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 $@