Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Mar 1995 13:24:15 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        CVS-commiters@freefall.cdrom.com, cvs-usrsbin@freefall.cdrom.com, wpaul@freefall.cdrom.com
Subject:   Re: cvs commit: src/usr.sbin/bootparamd/bootparamd Makefile
Message-ID:  <199503030224.NAA13279@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  Modified:    usr.sbin/bootparamd/bootparamd Makefile
>  Log:
>  Took out .include "../../Makefile.inc" which shouldn't be needed now that I
>  put a proper Makefile.inc in the top level of the bootparam heirarchy.
>  (Someday I'll learn. *sigh*)

Lots of other Makefiles used ../../Makefile.inc.  The first one that I
checked was named.  named/tools/*/Makefile uses triple ascension from
${.CURDIR} in two places and triple ascension from "." in one place.
I'm not sure if this is bogus (apart from the ${.CURDIR}.  If the
intermediate Makefile.inc doesn't do anything special it seems better to
include the top level Makefile.inc explicitly.  Perhaps the path to the
controlling Makefile.inc should be passed on to sub-makes.  bsd.prog.mk
etc. could include this instead of ../Makefile.inc.  An intermediate
Makefile.inc could change the path to make itself the controlling one.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503030224.NAA13279>