Here's a patch against the debian/rules file in the
/usr/src/fglrx.tar.bz2 tarball.

-- 
Eric Cooper             e c c @ c m u . e d u
--- modules/fglrx/debian/rules~ 2006-09-26 09:34:38.000000000 -0400
+++ modules/fglrx/debian/rules  2006-11-04 14:09:18.000000000 -0500
@@ -120,15 +120,18 @@
 # the kdist_image target is called by make-kpkg modules_image. It is
 # responsible for compiling the module and creating the package. It
 # should also clean up after making the module. Please note we use a
-# seperate binary-modules target to make testing the package building
+# separate binary_modules target to make testing the package building
 # easier
-kdist_image: binary_modules clean
+kdist_image:
+       $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules binary_modules
+       $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules clean
 
 
 # the kdist_clean target is called by make-kpkg modules_clean. It is
 # responsible for cleaning up any changes that have been made by the
 # other kdist_commands (except for the .deb files created).
-kdist_clean: clean
+kdist_clean:
+       $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules clean
 
 kdist: kdist_clean kdist_image
        dpkg-genchanges -b -u$(KPKG_DEST_DIR) > $(CHANGES_FILE)

Reply via email to