summaryrefslogtreecommitdiffstats
path: root/include/Makefile.in
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-06-16 10:44:59 -0700
committerBrian Behlendorf <[email protected]>2009-06-16 10:44:59 -0700
commit39a3d2a421bf067329bae352866a5d1fccbcee70 (patch)
tree326b0cb2c65c3d9150bfe4717095e046940cadce /include/Makefile.in
parente554dffa6031a2cf37537fc8451f757d5ae9e46f (diff)
Packaging improvements for RHEL and SLES
- Properly honor --prefix in build system and rpm spec file. - Add '--define require_kdir' to spec file to support building rpms against kernel sources installed in non-default locations. - Add '--define require_kobj' to spec file to support building rpms against kernel object installed in non-default locations. - Stop suppressing errors in autogen.sh script. - Improved logic to detect missing kernel objects when they are not located with the source. This is the common case for SLES as well as in-tree chaos kernel builds and is done to simply support for multiple arches. - Moved spl-devel build products to /usr/src/spl-<version>, a spl symlink is created to reference the last installed version.
Diffstat (limited to 'include/Makefile.in')
-rw-r--r--include/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Makefile.in b/include/Makefile.in
index e70ab9ff7..7b1437a4d 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -387,7 +387,7 @@ uninstall-am: uninstall-info-am
install-data-local:
- instdest=$(DESTDIR)/$(LINUX)/include/spl; \
+ instdest=$(DESTDIR)/${prefix}/src/spl-$(SPL_META_VERSION); \
instfiles=`find . -name '*.h'`; \
for instfile in $$instfiles; do \
$(INSTALL) -D $$instfile $$instdest/$$instfile; \