Re: make-kpkg strangeness
>>"Alexander" == Alexander Kotelnikov <sacha@debian.org> writes:
Alexander> Hello.
>>>>> On Mon, 06 May 2002 19:36:38 -0500
>>>>> "Manoj" == Manoj Srivastava <srivasta@debian.org> wrote:
>> states that:
>> ======================================================================
>> make-kpkg arranges to cd into each modules top directory,
>> /usr/src/modules/<mod-name>/, and runs ./debian/rules <target>.
Alexander> make[1]: Entering directory `/usr/src/modules/avfs-redir-module-0.9.3-cvs2002.05.05' /usr/bin/make -w debian/rules binary-modules
Hmm. Where did this come from? There is a -f missing, it
should be make -f debian/rule blah, if anything.
>> The targets called are:
>> kdist_image : Just the binary image of the module is created
>> kdist : generate the modules packages and sign them
>> kdist_configure: configure the modules packages
>> kdist_clean : clean the modules source tree
Alexander> BTW these targets are not well documented.
Documentation patches gladly accepted.
Alexander> At least they are not covered in section for modules
Alexander> packagers and kdist target is absent in your sample rules
Alexander> file.
The sample files are contributed documentation. I would
appreciate updates from people who actually write modules; in
th meanwhile, I am considering removing them until better samples can
be found.
>>
>> The error message says that there is no target called
>> kdist_image in the debian/rules file in the modules dir.
Alexander> 14:09 pts/2 sacha@pale:..src/modules/avfs-redir-module 2> cat debian/rules|grep kdist_image
>> the kdist_image target is called by make-kpkg modules_image. It is
Alexander> .PHONY: kdist_image
Alexander> kdist_image:
Alexander> I have it, since it is just slightly modified
Alexander> /usr/share/kernel-package/sample.module.rules
In that case, I do not understand why make is complaining
about it. However, that does provide an starting point for
debugging.
--
Date: 23 Mar 90 04:37:57 GMT From: raymond@hilbert.berkeley.edu
(Raymond Chen) $_="krJhruaesrltre c a cnp,ohet";$_.=$1,print$2while
s/(..)(.)//;
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: