Bug#94577: debian/rules uses undefined MODULE_LOC variable
Package: lm-sensors-source
Version: 2.5.4-12
Severity: normal
There are two uses of a MODULE_LOC variable in
/usr/src/modules/lm-sensors/debian/rules, but this variable is never defined.
This patch should fix it:
--- rules.orig Thu Apr 19 21:38:51 2001
+++ rules Thu Apr 19 21:39:43 2001
@@ -27,7 +27,7 @@
dh_testdir
I2C_HEADERS=/usr/local/include
# The i2c headers are in the i2c-source package's directory.
- $(MAKE) kernel LINUX=$(KSRC) I2C_HEADERS=$(MODULE_LOC)/i2c
+ $(MAKE) kernel LINUX=$(KSRC) I2C_HEADERS=/usr/src/modules/i2c
clean:
dh_testdir
@@ -63,7 +63,7 @@
dh_gencontrol -- -v$(PKG_VERSION)
dh_makeshlibs
dh_md5sums
- dh_builddeb --destdir=$(MODULE_LOC)/..
+ dh_builddeb --destdir=$(KSRC)/..
# Build architecture-independent files here.
binary-indep:
Note that this adds an explicit dependency on i2c-source, which may not be
desirable. Also, without the patch, the target .deb file is dropped in /,
which isn't what is desired (cf. bug 93545).
-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux extant-streetcar-line.sixtyone 2.2.18 #1 Tue Dec 12 10:18:50 EST 2000 i686
Versions of packages lm-sensors-source depends on:
ii debhelper 3.0.15 helper programs for debian/rules
Reply to: