]> git.proxmox.com Git - mirror_spl-debian.git/commitdiff
Add the release component to headers
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 18 Jan 2012 00:14:35 +0000 (16:14 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 18 Jan 2012 19:06:26 +0000 (11:06 -0800)
When the original build system code was added the release
component was accidentally omited from the development header
install path.  This patch adds the missing path component so
it's always clear exactly what release your compiling against.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Makefile.am
Makefile.in
include/Makefile.am
include/Makefile.in

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
index 23f20662f551ad66fe1baae6d9a80d41c98d9536..90c10c0748cfa45ed19a7c37b663115ead317007 100644 (file)
@@ -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
index d1289f0a051e3cf8a7de43979e477c27db15b6ae..31acf7e998838ba534045257447bae142635d1db 100644 (file)
@@ -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
index 832ffb38d428f398ed410e51ef8c252a383ddfd9..37fce0449a35dd5a9289a7232d5134fa09cc63e1 100644 (file)
@@ -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.