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

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

 



On Fri, 25 Dec 2009 08:36:06 +0000
Chris Webb <chris@xxxxxxxxxxxx> wrote:

> FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> 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@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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux