diff options
Diffstat (limited to 'hurd/Makefile')
-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) $< $@ |