Construit les paquets de modules le 20050911, revision k7-1
for module in /usr/src/modules/wacom; do                        \
          if test -d  $module; then                                \
    (cd $module;                                          \
              if ./debian/rules KVERS="2.6.11" KSRC="/usr/src/linux" \
                             KMAINT="Unknown Kernel Package Maintainer" KEMAIL="unknown@unconfigured.in.etc.kernel-pkg.conf"      \
                             KPKG_DEST_DIR="/usr/src/linux/.."       \
                             KPKG_MAINTAINER="Unknown Kernel Package Maintainer"        \
                             ARCH=i386                    \
                             KPKG_EXTRAV_ARG=""        \
                             KDREV="20050911" kdist_clean; then    \
                  echo "Module $module cleaned";                   \
              else                                                  \
                   echo "Module $module failed to clean up";       \
                   echo "Hit return to Continue?";                  \
	 read ans;                                          \
              fi;                                                   \
     );                                                     \
  else                                                      \
               echo "Module $module does not exist";               \
               echo "Hit return to Continue?";                      \
  fi;                                                       \
        done
make[1]: Entering directory `/usr/src/modules/wacom'
dh_testdir
dh_testroot
rm -f *-stamp
dh_clean
dh_testdir
dh_testroot
/usr/bin/make clean;
make[2]: Entering directory `/usr/src/modules/wacom'
make[2]: *** No rule to make target `clean'.  Stop.
make[2]: Leaving directory `/usr/src/modules/wacom'
make[1]: [kdist_clean] Error 2 (ignored)
rm -f debian/wacom-kernel-modules-2.6.11.* debian/control
make[1]: Leaving directory `/usr/src/modules/wacom'
Module /usr/src/modules/wacom cleaned
for module in /usr/src/modules/wacom ; do                       \
          if test -d  $module; then                                \
    (cd $module;                                          \
              if ./debian/rules KVERS="2.6.11-k7-1" KSRC="/usr/src/linux" \
                             KMAINT="Unknown Kernel Package Maintainer" KEMAIL="unknown@unconfigured.in.etc.kernel-pkg.conf"      \
                             KPKG_DEST_DIR="/usr/src/linux/.."       \
                             KPKG_MAINTAINER="Unknown Kernel Package Maintainer"        \
                             KPKG_EXTRAV_ARG="EXTRAVERSION=-k7-1"        \
                             ARCH="i386"                  \
                             KDREV="20050911" kdist_image; then    \
                  echo "Module $module processed fine";            \
              else                                                  \
                   echo "Module $module failed.";                  \
                   if [ "X" != "X" ]; then      \
                      echo "Perhaps $module does not understand --rootcmd?";  \
                      echo "If you see messages that indicate that it is not"; \
                      echo "in fact being built as root, please file a bug ";  \
                      echo "against $module.";                     \
                   fi;                                              \
                   echo "Hit return to Continue";                   \
	 read ans;                                        \
              fi;                                                   \
     );                                                    \
  else                                                      \
               echo "Module $module does not exist";               \
               echo "Hit return to Continue?";                      \
  fi;                                                       \
        done
make[1]: Entering directory `/usr/src/modules/wacom'
/usr/bin/make -w -f debian/rules binary-modules
make[2]: Entering directory `/usr/src/modules/wacom'
sed -e 's/${kpkg\:Kernel\-Version}/2.6.11-k7-1/' \
debian/wacom.control > debian/control
# Is this needed for setting up a Depends?
#echo "kpkg:Package-Version=0.6.6-8+2.6.11-k7-1" \
#	 >> debian/.substvars
echo "kpkg:Kernel-Version=2.6.11-k7-1" > \
	debian/wacom-kernel-modules-2.6.11-k7-1.substvars
# The substvars mechanism seems slightly broken, hack to get around it
# stolen from the qce-ga package.
# We do this above instead so control exists when the clean targets
# are run.
#sed -e 's/${kpkg\:Kernel\-Version}/2.6.11-k7-1/' \
#debian/cpad.control > debian/control
# Make sure we've had a chance to get a control file before doing this:
dh_testdir
dh_testroot
dh_clean -k
# Set up per package control files with suitable names
for f in modules modprobe templates; do					\
    cp -a debian/wacom.$f debian/wacom-kernel-modules-2.6.11-k7-1.$f;			\
done
for f in postinst config; do						\
    echo "#!/bin/sh" | cat - debian/wacom.$f > debian/wacom-kernel-modules-2.6.11-k7-1.$f;	\
done
# Build the modules
/usr/bin/make
make[3]: Entering directory `/usr/src/modules/wacom'
make[3]: *** No targets specified and no makefile found.  Stop.
make[3]: Leaving directory `/usr/src/modules/wacom'
make[2]: *** [binary-modules] Error 2
make[2]: Leaving directory `/usr/src/modules/wacom'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src/modules/wacom'
Module /usr/src/modules/wacom failed.
Hit return to Continue
