[linux-lvm] DESTDIR is broken in 1.00.09

Arkadiusz Miskiewicz arekm at pld-linux.org
Thu Apr 1 00:07:38 UTC 2004


Hi,

Current testdir support is broken: try
./configure --bindir=/usr/bin --mandir=/usr/share/man etc
and you will end up with make.tmpl like

# Setup directory variables
prefix = $(DESTDIR)/usr
exec_prefix = $(DESTDIR)/usr
bindir = /usr/bin
includedir = /usr/include
libdir = /usr/lib
sbindir = /sbin
infodir = /usr/share/info
mandir = /usr/share/man
kerneldir =
interface = ioctl
interfacedir = $(top_srcdir)/lib/$(interface)

bindir, libdir and friends are substituted to ${prefix}/bin only when --bindir 
is not specified.

Attached patch fixes that properly.

-- 
Arkadiusz Miśkiewicz     CS at FoE, Wroclaw University of Technology
arekm.pld-linux.org, 1024/3DB19BBD, JID: arekm.jabber.org, PLD/Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: device-mapper-install.patch
Type: text/x-diff
Size: 3222 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20040401/1a49496c/attachment.bin>


More information about the linux-lvm mailing list