aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am6
-rw-r--r--Makefile.in6
-rw-r--r--include/Makefile.am8
-rw-r--r--include/Makefile.in8
4 files changed, 14 insertions, 14 deletions
diff --git a/Makefile.am b/Makefile.am
index 11fa8ec18..209925969 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,9 +30,9 @@ distclean-local::
if CONFIG_KERNEL
install-data-local:
- destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
- instdest=$(DESTDIR)/usr/src/$$destname; \
- echo "$(SPL_META_VERSION)" >$$instdest/spl.release; \
+ release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \
+ instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
+ echo "$$release" >$$instdest/spl.release; \
for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
done
diff --git a/Makefile.in b/Makefile.in
index 23f20662f..90c10c074 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1022,9 +1022,9 @@ distclean-local::
-type f -print | xargs $(RM)
@CONFIG_KERNEL_TRUE@install-data-local:
-@CONFIG_KERNEL_TRUE@ destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
-@CONFIG_KERNEL_TRUE@ instdest=$(DESTDIR)/usr/src/$$destname; \
-@CONFIG_KERNEL_TRUE@ echo "$(SPL_META_VERSION)" >$$instdest/spl.release; \
+@CONFIG_KERNEL_TRUE@ release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \
+@CONFIG_KERNEL_TRUE@ instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
+@CONFIG_KERNEL_TRUE@ echo "$$release" >$$instdest/spl.release; \
@CONFIG_KERNEL_TRUE@ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
@CONFIG_KERNEL_TRUE@ $(INSTALL) -D $$instfile $$instdest/$$instfile; \
@CONFIG_KERNEL_TRUE@ done
diff --git a/include/Makefile.am b/include/Makefile.am
index d1289f0a0..31acf7e99 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -15,14 +15,14 @@ noinst_HEADERS += $(top_srcdir)/include/util/*.h
noinst_HEADERS += $(top_srcdir)/include/vm/*.h
install-data-local:
- destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
- instdest=$(DESTDIR)/usr/src/$$destname; \
+ release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \
+ instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
instfiles=`find . -name '*.h'`; \
for instfile in $$instfiles; do \
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
done
uninstall-local:
- destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
- instdest=$(DESTDIR)/usr/src/$$destname; \
+ release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \
+ instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
$(RM) -R $$instdest
diff --git a/include/Makefile.in b/include/Makefile.in
index 832ffb38d..37fce0449 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -464,16 +464,16 @@ uninstall-am: uninstall-local
install-data-local:
- destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
- instdest=$(DESTDIR)/usr/src/$$destname; \
+ release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \
+ instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
instfiles=`find . -name '*.h'`; \
for instfile in $$instfiles; do \
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
done
uninstall-local:
- destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
- instdest=$(DESTDIR)/usr/src/$$destname; \
+ release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \
+ instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
$(RM) -R $$instdest
# Tell versions [3.59,3.63) of GNU make to not export all variables.