Subject: Re: important: make changes
To: Christos Zoulas <email@example.com>
From: Andrew Brown <firstname.lastname@example.org>
Date: 01/15/2001 01:54:34
> echo 2
>In order for your make build to succeed, please make sure that you rebuild
>make(1) before you install the new rules in /usr/src/share/mk, so that
>the commands(<target>) directive gets recognized.
imho, this is the "wrong" solution. the makefiles in question
(etc/Makefile et al, for example) should be modified to not emit to
sets of commands.
for the etc set, both etc/Makefile and, eg, etc/etc.i386/Makefile.inc
define a snap_md_post target with commands. in the former, it is
"protected" by ".if !defined(RELEASEDIR)" and ".ifndef DESTDIR"
whereas in the latter it is not "protected" at all. adjusting the
port makefiles would be, i think, a more proper solution. the target
in the md makefiles should probably be protected by something checking
the value of RELEASEDIR. snap_md_post isn't very useful if that's not
this, of course, says nothing of the mixed use of ".if !defined" and
".ifndef" in different places. :)
|-----< "CODE WARRIOR" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."