[Pkg-mol-commits] r154 - mol/trunk/debian

jo-guest at alioth.debian.org jo-guest at alioth.debian.org
Thu Sep 27 12:45:07 UTC 2007


Author: jo-guest
Date: 2007-09-27 12:45:07 +0000 (Thu, 27 Sep 2007)
New Revision: 154

Modified:
   mol/trunk/debian/rules
Log:
?\226?\128?\162 debian/rules
  ?\194?\183 Removed the ?\226?\128?\156rm ?\226?\128?\166 changelog.m4.m4?\226?\128?\157 line.

  ?\194?\183 Fixed the call of ?\226?\128?\156make setup-common?\226?\128?\157 to make the package build with
    pbuilder succeeds.


Modified: mol/trunk/debian/rules
===================================================================
--- mol/trunk/debian/rules	2007-09-27 12:03:39 UTC (rev 153)
+++ mol/trunk/debian/rules	2007-09-27 12:45:07 UTC (rev 154)
@@ -59,8 +59,9 @@
 	$(MAKE) BUILD_MODS=n NETDRIVER=n $(DEBIANFLAGS)
 
 # setup the build structure for the kernel modules
-	$(MAKE) -C src/kmod/Linux/ KERNEL_SOURCE=/lib/modules/`uname -r`/source \
-	    setup-common
+# the KERNEL_SOURCE must point to a directory. It's not used by setup-common,
+# but upstream checks for a directory. I heared / is often a directory.
+	$(MAKE) -C src/kmod/Linux/ KERNEL_SOURCE=/ setup-common
 	$(MAKE) -C src/netdriver/ setup-tree-common
 
 	touch $@
@@ -98,7 +99,6 @@
 # add the Debian directory and the top-level Makefile
 	cp -pr debian/debian.mol-source modules/mol/debian
 	sed -i '1s/MOL_VERSION/$(VERSION)/' modules/mol/debian/changelog.m4
-	rm modules/mol/debian/changelog.m4.m4
 	cp -p debian/Makefile.mol-source modules/mol/Makefile
 
 # set correct permissions




More information about the Pkg-mol-commits mailing list