Re: [ILUG] brain broken, auto checkout missing make include file?

From: Charles Sharp (charles.sharp at domain sun.com)
Date: Fri 22 Jun 2001 - 16:18:10 IST


Hi Kevin,

If I understand the manual correctly, the answer is yes.

Get a big <fill in caffeine delivery vehicle>, take
a deep breath and see:

http://www.fsf.org/manual/make-3.79.1/html_chapter/make_3.html#SEC15

and

http://www.fsf.org/manual/make-3.79.1/html_chapter/make_3.html#SEC17

good luck,
cas

kevin lyda wrote:
>
> let's say you have a Makefile and it has the line
>
> include buildtools/ports.mk
>
> instead of dying if that's missing, i'd like it to do this command:
>
> cvs co buildtools/ports.mk
>
> is this possible? can anyone suggest a strategy for simulating this?
> one idea i had was to move the Makefile to Makefile.real and then have
> a buildtools/ports.mk dependancy on all targets. but then i have to
> edit two files to add a target and it just seems messy.
>
> kevin
>
> --
> Irish Linux Users' Group: ilug at domain linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at domain linux.ie



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:49 GMT