[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: make-kpkg strangeness



>>"Alexander" == Alexander Kotelnikov <sacha@debian.org> writes:
 Alexander> make[1]: Entering directory `/usr/src/modules/avfs-redir-module'
 Alexander> /usr/bin/make -w debian/rules binary-modules

	Heh. 

 % ./debian/rules -n -p  KVERS="2.4.12"	KSRC="/usr/src/linux-2.4.12" \
      KMAINT="Alexander Kotelnikov" KEMAIL="sacha@debian.org"        \
      KDREV="3coda" kdist_image | less  

	reveals that the root of the problem is that you have declared:

kdist_image:
        $(MAKE) $(MFLAGS) debian/rules binary-modules
        $(MAKE) $(MFLAGS) debian/rules clean

	(and so on --- other targets have similar definitions). That
 makes debian/rules a target -- which it is not. What you need is:
----------------------------------------------------------------------
kdist_image:
        $(MAKE) -f debian/rules binary-modules
        $(MAKE) -f debian/rules clean
----------------------------------------------------------------------
 Also, You are using MFLAGS  -- which is obsolete, and redundant in this case. 

	manoj
-- 
 I have a terrible headache, I was putting on toilet water and the lid
 fell.
Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


-- 
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: