From 39a3d2a421bf067329bae352866a5d1fccbcee70 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 16 Jun 2009 10:44:59 -0700 Subject: 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-, a spl symlink is created to reference the last installed version. --- include/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/Makefile.am') diff --git a/include/Makefile.am b/include/Makefile.am index f85380f79..d1990dcb0 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -16,7 +16,7 @@ noinst_HEADERS += util/*.h noinst_HEADERS += vm/*.h 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; \ -- cgit v1.2.3