]> git.proxmox.com Git - mirror_spl-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:06:48 +0000 (23:06 +0100)
committerCarlos Alberto Lopez Perez <clopez@igalia.com>
Wed, 20 Feb 2013 22:06:48 +0000 (23:06 +0100)
commit16b165ccad7f3a7f3903bcdec4c3ad7405f335be
tree21bbe2e6731b8ee95d9588eb389fc1ba93e263aa
parentcc2a3926253e5d385fdaaa984787996a736ef1c7
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.
debian/rules