From 62fa5f56c4924ef8dbb52a6165ea92a61de072be Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Fri, 20 Feb 2009 13:00:37 -0800 Subject: [PATCH] More DKMS fixes Add a better clean rule and make the (still commented-out) DKMS package architecture-dependent like openafs-modules-source. --- debian/control | 2 +- debian/dkms.conf.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 9d20e0dea..241a6d88f 100644 --- a/debian/control +++ b/debian/control @@ -127,7 +127,7 @@ Description: AFS distributed filesystem kernel module source #Package: openafs-modules-dkms #Priority: extra #Depends: ${misc:Depends}, bison, flex -#Architecture: all +#Architecture: alpha amd64 arm armel i386 ia64 lpia powerpc ppc64 s390 s390x sparc #Description: AFS distributed filesystem kernel module DKMS source # AFS is a distributed filesystem allowing cross-platform sharing of # files among multiple computers. Facilities are provided for access diff --git a/debian/dkms.conf.in b/debian/dkms.conf.in index 67e851821..409471a4c 100644 --- a/debian/dkms.conf.in +++ b/debian/dkms.conf.in @@ -11,4 +11,4 @@ AUTOINSTALL=yes MAKE[0]="./configure --with-linux-kernel-headers=${kernel_source_dir} && make && mv src/libafs/MODLOAD-*/openafs.ko ." -CLEAN="rm -f openafs.ko && make distclean" +CLEAN="rm -f openafs.ko && make -C src/libafs clean" -- 2.39.5