[stgt] [PATCH] conf/Makefile should use $(PREFIX)

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Wed Dec 30 02:12:09 CET 2009


On Sun, 27 Dec 2009 14:36:17 +0900
FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp> wrote:

> On Fri, 25 Dec 2009 08:36:06 +0000
> Chris Webb <chris at arachsys.com> wrote:
> 
> > FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp> writes:
> > 
> > > -sysconfdir ?= /etc
> > > +sysconfdir ?= $(PREFIX)/etc
> > 
> > Are you sure that's right? PREFIX is unused on all my systems, so perhaps
> > I'm wrong about the convention on boxes with both /bin and /usr/bin, but if
> > tgtd is in /usr/bin, doesn't system configuration still live in /etc rather
> > than /usr/etc?
> 
> I'm not confident of this change but it seems that Debian packaging
> system (and other packaging systems, I guess) expect such behavior.
> 
> Packaging systems expect that `make install PREFIX="somewhere non root
> users can write"` works fine.

Seems that `make install DESTDIR="somewhere"` works fine and looks a
proper way.

I dropped this patch.


Thanks,
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list