Package: atmelwlandriver
Version: 2.1.1-3.2
Author: Guillem Jover <guillem@debian.org>
Status: applied
Description:
 Non-maintainer upload.
 debian/rules:
 - Moved binary-tools and config-tools to binary-arch. (Closes: #209040).
 - Removed not used binary-common target.
 - Strip binaries.

diff -Naur atmelwlandriver-2.1.1-3.2/debian/changelog atmelwlandriver-2.1.1-3.3/debian/changelog
--- atmelwlandriver-2.1.1-3.2/debian/changelog	2003-09-08 00:20:31.000000000 +0200
+++ atmelwlandriver-2.1.1-3.3/debian/changelog	2003-09-08 00:20:21.000000000 +0200
@@ -1,3 +1,13 @@
+atmelwlandriver (2.1.1-3.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules:
+    - Moved binary-tools and config-tools to binary-arch. (Closes: #209040)
+    - Removed not used binary-common target.
+    - Strip binaries.
+
+ -- Guillem Jover <guillem@debian.org>  Sun,  7 Sep 2003 23:11:48 +0200
+
 atmelwlandriver (2.1.1-3.2) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Naur atmelwlandriver-2.1.1-3.2/debian/rules atmelwlandriver-2.1.1-3.3/debian/rules
--- atmelwlandriver-2.1.1-3.2/debian/rules	2003-09-08 00:20:31.000000000 +0200
+++ atmelwlandriver-2.1.1-3.3/debian/rules	2003-09-08 00:20:21.000000000 +0200
@@ -99,16 +99,30 @@
 # Name of the source package
 psource = $(package)-source
 
+
 # Lets define the standard targets first
 
+build:
+
+install:
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	-$(MAKE) clean
+	-rm -rf debian/$(package)-modules-*
+	-rm -f debian/control.modules
+	-rm -f debian/conffiles
+
+	dh_clean
+
 binary: binary-indep binary-arch
 
-binary-indep: config-tools binary-tools binary-source
+binary-indep: binary-source
+
+binary-arch: config-tools binary-tools
 
-# For binary-arch we do nothing so autobuilder don't try to build the
-# kernel modules.
-binary-arch:
-	touch debian/files
 
 #####
 #####    The Modules Package Stuff
@@ -132,16 +146,16 @@
 # easier
 kdist_image: clean binary-modules
 
-
 # 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
 
+
 # the binary-source target creates the kernmod-source package. It does
 # this by copying the entire package source into debian/tmp and running
 # clean in the copy
-binary-source: 
+binary-source:
 	# Perform some simple tests
 	dh_testdir
 	dh_testroot
@@ -152,7 +166,7 @@
 	#	-rm -rf debian/tmp debian/substvars
 	#	install -d -m 755 -o root -g root debian/tmp
 
-# Copy the entire source to the proper location
+	# Copy the entire source to the proper location
 	install -d -m 755 -o root -g root \
 		debian/$(package)-source/usr/src/modules/$(package)-source
 	find . -print | cpio -admp \
@@ -176,16 +190,12 @@
 	dh_fixperms -p$(package)-source
 	chown root:src debian/$(package)-source/usr/src/$(package)-modules.tar.gz
 
-# Generate the package
+	# Generate the package
 	dh_installdeb -p$(package)-source
 	dh_gencontrol -p$(package)-source
 	dh_md5sums -p$(package)-source
 	dh_builddeb -p$(package)-source
 
-# the binary-common target creates the kernmod-common package.
-binary-common:
-
-
 # the binary-modules target creates the kernmod-modules-XXX package.
 binary-modules:
 	export DH_OPTIONS='-p$(pmodules)'
@@ -235,17 +245,6 @@
 	dh_md5sums -p$(pmodules)
 	dh_builddeb -p$(pmodules) --destdir=$(KSRC)/..
 
-clean:
-	dh_testdir
-	dh_testroot
-
-	-$(MAKE) clean
-	-rm -rf debian/$(package)-modules-*
-	-rm -f debian/control.modules
-	-rm -f debian/conffiles
-
-	dh_clean
-
 config-tools:
 	@echo Setting up .config file
 	cat config.debian.tools |\
@@ -293,6 +292,7 @@
 	dh_installdebconf -p$(ptools)
 	dh_installdocs -p$(ptools) README
 	dh_installchangelogs -p$(ptools)
+	dh_strip -p$(ptools)
 	dh_compress -p$(ptools)
 	dh_fixperms -p$(ptools)
 	dh_installdeb -p$(ptools)
@@ -301,11 +301,6 @@
 	dh_md5sums -p$(ptools)
 	dh_builddeb -p$(ptools)
 
-	
-
-build:
-
-install:
-
 .PHONY: binary binary-indep binary-arch kdist_config kdist_image kdist_clean \
-	binary-source binary-modules binary-common clean
+	binary-source binary-modules clean
+

