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

Re: Help, the template debian/rules is too simple

On Mon, Nov 02, 2009 at 08:25:01PM +0800, waixy zhou wrote:
> hi,
> I want to package the cross-complie tools for RTEMS(a realtime operation
> used in embedded system), and use dh_make to generate the template of
> "debian/" directory, then i find the file *debian/rules* is too simple, just
> 3 lines left after eliminating the comments, as follows:
>           #! /usr/bin/make -f
>           %:
>                       dh   $@

I have not used dh_make under squeeze recently ...  but I know lenny one
now comes with option to create package with cdbs.  This cdbs is not
covered by NM guide.
> This is very different from the ***Debian New Maintainers' Guide**. *This is
> my first time to do package, so I am confused. 

You should have answered differently to the question.

> How can I generate the
> template debian/rules file containing the details as New Maintainers' Guide?


$ man dh_make

> I do not want the cross-complie tools such as gcc/gdb mix up with my
> host-complie tools. So I want to assign at least these complie options:
> --prefix and --target. How can I do that?

I guess, if you have not created normal package, you are doing something
beyond your current skill.  You need to lean step by step.


Reply to: