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

Re: debian/rules "make -f" restriction



On Wed, Oct 28 2009, Tobi wrote:

> Julien Cristau schrieb:
>
>> asks for a password.
>
> Sorry, wrong link:
>
> http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr/trunk/debian/make-special-vdr.sh
>
>>  also nothing in what you said explains why you
>> can't do what you want using a makefile.
>
> Because make-special-vdr.sh needs to modify debian/rules itself. This
> way debian/rules doesn't get "contaminated" with stuff that goes
> beyond the scope of building the regular Debian package -e except for
> the shebang line.

        This is what the make directive 'include' is all
 about. Conditionally, include fileA or fileB. Each file is all
 uncontaminated now.

        This is not a technical  shortcoming of using Makefiles.

        manoj
-- 
The reason why worry kills more people than work is that more people
worry than work.
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/~srivasta/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


Reply to: