Date: Wed, 13 May 2009 13:16:47 -0500 From: David Wassman <DWassman@davismonk.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: make.conf options based on DESTDIR? Message-ID: <F1D0494FBC06344BB3155D5917CDCCF6524B02FDBF@etg6.etg.local>
next in thread | raw e-mail | index | archive | help
I have setup several jails that use a master template similar to the advanc= ed jail configuration in the handbook. Currently, I build the master jail w= ith several build options turned off using a separate make.conf file and se= tting __MAKE_CONF to it. I was wondering if there is a way to set /etc/make.conf up so that if DESTD= IR is set to the master jail location, make would use those options but not= use them during a standard build process with DESTDIR not defined or point= ed somewhere else. I have read through the man pages on make and make.conf, and have tried: .if DESTDIR=3D/usr/Jail/master WITHOUT_ACPI=3DYES WITHOUT_BOOT=3DYES ... .endif But it does not seem to work correctly. Any ideas if this is possible. Woul= d make it easier to rebuild the jail template since I wouldn't need to reme= mber to set __MAKE_CONF. Any help would be appreciated. David Wassman, MCSA MCP Net+ Security+ Senior Network\System Administrator Davis, Monk & Company (800) 344-5034 (352) 372-6300 (352) 375-1583 FAX The information contained in this electronic message is legally privileged = and confidential under applicable law, and is intended only for the use of = the individual or entity named above. If you are not the intended recipient= , you are hereby notified that any dissemination, copying or disclosure of = this communication is strictly prohibited. If you have received this commun= ication in error, please notify Davis, Monk & Company (352) 372-6300 and de= lete this communication immediately without reading it, making any copies o= f it or distributing it. P Please keep this email paperless
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F1D0494FBC06344BB3155D5917CDCCF6524B02FDBF>