]> git.proxmox.com Git - mirror_zfs.git/blobdiff - Makefile.in
Install spl-devel products in /usr/src/spl-SPL_VERSION/LINUX_VERSION/
[mirror_zfs.git] / Makefile.in
index 732880fcc1ecf5290fe17395aa2751df192f36f0..c87fbb7cfafee101e2bb72e02db5520b50b81675 100644 (file)
@@ -661,11 +661,11 @@ distclean-local::
                -type f -print | xargs $(RM)
 
 install-data-local:
-       instdest=$(DESTDIR)/${prefix}/src/spl-$(SPL_META_VERSION); \
+       destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
+       instdest=$(DESTDIR)/${prefix}/src/$$destname; \
        for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
                $(INSTALL) -D $$instfile $$instdest/$$instfile; \
        done
-       (cd $(DESTDIR)/${prefix}/src && ln -f -s spl-$(SPL_META_VERSION) spl)
 
 ctags:
        $(RM) $(top_srcdir)/tags