Bug 755340

Summary: LVM2.02.88 wrong value of mandir and infodir in make.tmpl.in
Product: [Fedora] Fedora Reporter: stlman
Component: lvm2Assignee: Alasdair Kergon <agk>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: agk, bmarzins, bmr, dwysocha, heinzm, jonathan, lvm-team, mbroz, msnitzer, prajnoha, prockai, zkabelac
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.02.89 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-20 20:53:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Make --mandir and --infodir take effect none

Description stlman 2011-11-20 19:51:36 UTC
Created attachment 534680 [details]
Make --mandir and --infodir take effect

Description of problem:

The --mandir and --infodir parameters to configure script do not affect build process because mandir and infodir variables in the make.tmpl.in file are erroneously defined.

Version-Release number of selected component (if applicable):
2.02.88

How reproducible:
Always

Steps to Reproduce:
0. mkdir /tmp/pkg-lvm2
1. configure --mandir=/usr/man && make && make install DESTDIR=/tmp/pkg-lvm2
  
Actual results:
Man pages installed in /tmp/pkg-lvm2/usr/share/man.

Expected results:
Man pages installed in /tmp/pkg-lvm2/usr/man.

Comment 1 Alasdair Kergon 2011-11-20 20:53:29 UTC
Fixed upstream for next release, thanks.

Comment 2 Alasdair Kergon 2011-11-20 20:56:51 UTC
(BTW I changed the datarootdir definition too to avoid getting $(DESTDIR) doubled up when embedded.)