From 4e32ca293f40af17673564f98953027e7d05304a Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Thu, 16 Jun 2011 08:41:39 -0700 Subject: [PATCH] Fix builds with make-kpkg * Add a dummy debian/rules rule in the kernel module rules file to fix builds with make-kpkg. (Closes: #622260) --- debian/changelog | 2 ++ debian/module/rules | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 73e807781..67c24d3ff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ openafs (1.6.0~pre6-1) unstable; urgency=low - Fix callback state handling with demand-attach when salvaged. - Fix reference leak in GetCapabilities. - Document DNS SRV record usage in afsd man page. + * Add a dummy debian/rules rule in the kernel module rules file to fix + builds with make-kpkg. (Closes: #622260) -- Russ Allbery Thu, 16 Jun 2011 08:38:10 -0700 diff --git a/debian/module/rules b/debian/module/rules index 6cfc96269..1eac3417a 100755 --- a/debian/module/rules +++ b/debian/module/rules @@ -29,6 +29,10 @@ package = openafs modulepkg := openafs-modules-$(KVERS)${INT_SUBARCH} moduledir := debian/$(modulepkg)/lib/modules/$(KVERS)/fs +# make-kpkg tries to rebuild debian/rules first, so add a dummy target to +# avoid our dh wildcard rule and a fatal error. +debian/rules: + # This setup must be done before running any other target if it hasn't # already been done. setup: -- 2.39.5