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

From: kevin lyda (kevin at domain suberic.net)
Date: Fri 22 Jun 2001 - 16:03:36 IST


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



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