]> git.proxmox.com Git - mirror_spl.git/blobdiff - Makefile.am
Add copy-builtin to EXTRA_DIST
[mirror_spl.git] / Makefile.am
index 11fa8ec18e22e14632bd34f84c1821213caca5d2..6000a7d14731e035a739dfd2ef6c14aa977c56b6 100644 (file)
@@ -14,7 +14,8 @@ SUBDIRS = $(USER_DIR) $(KERNEL_DIR)
 AUTOMAKE_OPTIONS = foreign
 EXTRA_DIST  = autogen.sh spl.spec.in spl-modules.spec.in META DISCLAIMER
 EXTRA_DIST += config/config.awk config/rpm.am config/deb.am config/tgz.am
-noinst_HEADERS = spl_config.h
+EXTRA_DIST += dkms.postinst copy-builtin
+noinst_HEADERS = spl_config.h spl.release
 
 distclean-local::
        -$(RM) -R autom4te*.cache
@@ -30,9 +31,8 @@ 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); \
        for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
                $(INSTALL) -D $$instfile $$instdest/$$instfile; \
        done