]> git.proxmox.com Git - mirror_spl-debian.git/blobdiff - Makefile.am
Add the release component to headers
[mirror_spl-debian.git] / Makefile.am
index 11fa8ec18e22e14632bd34f84c1821213caca5d2..209925969db5cb80a69e4c3d3c7bca8fc9ff7f53 100644 (file)
@@ -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