aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-06-26 16:30:44 -0700
committerBrian Behlendorf <[email protected]>2009-06-26 16:30:44 -0700
commitf4f9cd75a1e4654bf50cac6dbb5496ba93bb1662 (patch)
tree39afab86468a1e1f68b412027d0e3dcbd8a5b8b9 /include
parentc0517c35d244beea61ff443f1e6e7229ef6337fe (diff)
Install spl-devel products in /usr/src/spl-SPL_VERSION/LINUX_VERSION/
Remove the spl symlink, it's just confusing
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; \