[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [RFC] Package build time config for installation directories.



On Mon, Nov 06, 2000 at 09:16:38AM -0500, Itai Zukerman wrote:
> > +include /etc/dpkg-dev/dirs.$(DEBIAN_GNU_HOST_TYPE)
> > 
> > -	./configure
> > +	./configure --sbindir=$(sbindir) --bindir=$(bindir) --etcdir=$(etcdir)
> 
> The proposal makes perfect sense, I just have one concern: I see that
> dpkg-buildpackage takes an architecture flag, but I don't think
> there's a way to specify a "system type" (i386-hurd, for example).  If
> I want to put stuff in /usr/local, should I do i386-linuxlocal, and
> how?  I think it would be nice to:
> 
>   dpkg-buildpackage --system-type i386-linuxlocal
> 
> (or something).  And, if that's the case, probably the system type
> should be part of the deb (the Architecture field)?

Maybe create an env var that this dpkg-dirs script will use to override
the default file?

DEBIAN_DIR_FORMAT=i386-linuxlocal dpkg-buildpackage

then create and edit /etc/dpkg-dev/dirs.i386-linuxlocal


Makes sense?
-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: