]> git.proxmox.com Git - mirror_zfs-debian.git/commit - debian/rules
Explicity select what is copied inside the DKMS source tree
authorCarlos Alberto Lopez Perez <clopez@igalia.com>
Wed, 20 Feb 2013 22:51:32 +0000 (23:51 +0100)
committerCarlos Alberto Lopez Perez <clopez@igalia.com>
Wed, 20 Feb 2013 22:51:32 +0000 (23:51 +0100)
commite6fd8d0f0eba638927cecb1374b80481ac6a2390
tree44170ea161ae66609b017b995c1dbb5dd4ae44ae
parentfbc1bfefae95126a60f8b183268561617a56f3f5
Explicity select what is copied inside the DKMS source tree

 * We use the variable DKMSFILES to explicity select wich files
   or directories are copied inside the DKMS source tree.

 * Once copied. We rewrite configure.ac with awk to remove the
   userland/misc components and only keep the kernel stuff that
   is needed by DKMS.

   * The awk lines deletes from inside AC_CONFIG_FILES([]) of configure.ac
     everything except:
(Makefile$|include/|module/|*.release$|dkms.conf$)

   * Then we run ./autogen.sh to generate the configure scripts
     inside the DKMS source tree

 * This allows us to ship a clean DKMS source tree with *only* the kernel
   components and free from the userland/misc ones (ex: splat)

    * Prevents manual build on the DKMS source tree.

 * This will allow to remove practically all patches from debian/patches
   in the next commit that were used previously to clean this stuff manually.
debian/rules