Package: acx100-source
Version: 20051118-1
Followup-For: Bug #329005

reopen 329005
tags 329005 patch
thanks

Same problem with 20051118-1 - the attached patch fixes this.


 - Jonas

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-powerpc
Locale: LANG=da_DK, LC_CTYPE=da_DK (charmap=ISO-8859-1)

Versions of packages acx100-source depends on:
ii  debhelper                     5.0.7      helper programs for debian/rules
ii  module-assistant              0.10.2     tool to make module package creati

Versions of packages acx100-source recommends:
pn  acx100-firmware               <none>     (no description available)

-- no debconf information
--- rules.orig  2005-11-28 00:50:21.000000000 +0100
+++ rules       2005-12-03 13:00:20.000000000 +0100
@@ -29,7 +29,7 @@
        dh_testdir
        dh_testroot
        touch config.mk \
-               && $(MAKE) -C /lib/modules/`uname -r`/build M=`pwd` clean \
+               && $(MAKE) -C "$(KSRC)" M="$(PWD)" clean \
                && rm -rf tmp
        dh_clean        
        rm -rf debian/build
@@ -53,7 +53,7 @@
 
        cd debian/build/usr/src/modules/acx100 \
                && touch config.mk \
-               && $(MAKE) -C /lib/modules/`uname -r`/build M=`pwd` clean
+               && $(MAKE) -C "$(KSRC)" M="$(PWD)" clean
 
        touch build-stamp
 
@@ -110,7 +110,7 @@
 binary-modules: binary_modules
 binary_modules: kdist_config
        # Build modules
-       $(MAKE) -C /lib/modules/`uname -r`/build M=`pwd`
+       $(MAKE) -C "$(KSRC)" M="$(PWD)"
                
 
        dh_installdirs /lib/firmware
@@ -139,6 +139,6 @@
 .PHONY: kdist_clean
 kdist_clean:
        touch config.mk \
-               && $(MAKE) -C /lib/modules/`uname -r`/build M=`pwd` clean
+               && $(MAKE) -C "$(KSRC)" M="$(PWD)" clean
                
        -dh_clean

Reply via email to