[stgt] [PATCH] conf/Makefile should use $(PREFIX)
fujita.tomonori at lab.ntt.co.jp
Sun Dec 27 06:36:17 CET 2009
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.
I guess PREFIX is likely set to something like /usr/local/
On my debian box:
fujita at lily:/usr/local$ ls
bin etc games include lib man sbin share src
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