aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Makefile.am3
-rw-r--r--include/Makefile.in3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index d1990dcb0..3388ce8d9 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -16,7 +16,8 @@ noinst_HEADERS += util/*.h
noinst_HEADERS += vm/*.h
install-data-local:
- instdest=$(DESTDIR)/${prefix}/src/spl-$(SPL_META_VERSION); \
+ destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
+ instdest=$(DESTDIR)/${prefix}/src/$$destname; \
instfiles=`find . -name '*.h'`; \
for instfile in $$instfiles; do \
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
diff --git a/include/Makefile.in b/include/Makefile.in
index 53650a52e..db1587d47 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -388,7 +388,8 @@ uninstall-am: uninstall-info-am
install-data-local:
- instdest=$(DESTDIR)/${prefix}/src/spl-$(SPL_META_VERSION); \
+ destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
+ instdest=$(DESTDIR)/${prefix}/src/$$destname; \
instfiles=`find . -name '*.h'`; \
for instfile in $$instfiles; do \
$(INSTALL) -D $$instfile $$instdest/$$instfile; \