On Wed, Oct 14, 1998 at 05:09:54PM -0500, Manoj Srivastava wrote: > Hi, > >>"Hamish" == Hamish Moffatt <[EMAIL PROTECTED]> writes: > > > >> /usr/src/modules/<mod-name>/, and runs ./debian/rules <target>. > >> Additionally, the following information is provided in the > >> environment: > >> a) KVERS Contains the kernel version > >> b) KSRC Contains the location of the kernel sources > >> c) KMAINT Contains the Name of the maintainer to pass to PGP > >> d) KEMAIL Caontains the email address of the maintainer > > Hamish> How is the package version number passed? > > <confused> What package are you talking about here?
I assume KVERS contains only the kernel version, eg 2.0.35. make-kpkg modules_image allows you to specify a revision, which pcmcia for example uses as part of the file .deb's version number. How is the revision number passed? > Hamish> Also, I'm terrible with make. Is there an easy way to test that > Hamish> the four variables above have been provided and abort if not? > > Hmm, there are several ways. Off the top of my head: Thanks. Hamish -- Hamish Moffatt VK3TYD [EMAIL PROTECTED], [EMAIL PROTECTED] Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5 CCs of replies from mailing lists are welcome. http://hamish.home.ml.org