Install spl-devel products in /usr/src/spl-SPL_VERSION/LINUX_VERSION/
Remove the spl symlink, it's just confusing
This commit is contained in:
parent
c0517c35d2
commit
f4f9cd75a1
|
@ -16,11 +16,11 @@ distclean-local::
|
||||||
-type f -print | xargs $(RM)
|
-type f -print | xargs $(RM)
|
||||||
|
|
||||||
install-data-local:
|
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 \
|
for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
|
||||||
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
|
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
|
||||||
done
|
done
|
||||||
(cd $(DESTDIR)/${prefix}/src && ln -f -s spl-$(SPL_META_VERSION) spl)
|
|
||||||
|
|
||||||
ctags:
|
ctags:
|
||||||
$(RM) $(top_srcdir)/tags
|
$(RM) $(top_srcdir)/tags
|
||||||
|
|
|
@ -661,11 +661,11 @@ distclean-local::
|
||||||
-type f -print | xargs $(RM)
|
-type f -print | xargs $(RM)
|
||||||
|
|
||||||
install-data-local:
|
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 \
|
for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
|
||||||
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
|
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
|
||||||
done
|
done
|
||||||
(cd $(DESTDIR)/${prefix}/src && ln -f -s spl-$(SPL_META_VERSION) spl)
|
|
||||||
|
|
||||||
ctags:
|
ctags:
|
||||||
$(RM) $(top_srcdir)/tags
|
$(RM) $(top_srcdir)/tags
|
||||||
|
|
|
@ -16,7 +16,8 @@ noinst_HEADERS += util/*.h
|
||||||
noinst_HEADERS += vm/*.h
|
noinst_HEADERS += vm/*.h
|
||||||
|
|
||||||
install-data-local:
|
install-data-local:
|
||||||
instdest=$(DESTDIR)/${prefix}/src/spl-$(SPL_META_VERSION); \
|
destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
|
||||||
|
instdest=$(DESTDIR)/${prefix}/src/$$destname; \
|
||||||
instfiles=`find . -name '*.h'`; \
|
instfiles=`find . -name '*.h'`; \
|
||||||
for instfile in $$instfiles; do \
|
for instfile in $$instfiles; do \
|
||||||
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
|
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
|
||||||
|
|
|
@ -388,7 +388,8 @@ uninstall-am: uninstall-info-am
|
||||||
|
|
||||||
|
|
||||||
install-data-local:
|
install-data-local:
|
||||||
instdest=$(DESTDIR)/${prefix}/src/spl-$(SPL_META_VERSION); \
|
destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
|
||||||
|
instdest=$(DESTDIR)/${prefix}/src/$$destname; \
|
||||||
instfiles=`find . -name '*.h'`; \
|
instfiles=`find . -name '*.h'`; \
|
||||||
for instfile in $$instfiles; do \
|
for instfile in $$instfiles; do \
|
||||||
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
|
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
|
||||||
|
|
Loading…
Reference in New Issue