dlm: master - libdlm: more Makefile munging

David Teigland teigland at fedoraproject.org
Mon Oct 3 21:55:24 UTC 2011


Gitweb:        http://git.fedorahosted.org/git/dlm.git?p=dlm.git;a=commitdiff;h=0ffe7415f206a9a874fe853b519e9f2a1d4c39e8
Commit:        0ffe7415f206a9a874fe853b519e9f2a1d4c39e8
Parent:        59d16cbb84bb33fe7331cdcade20f007abd26096
Author:        David Teigland <teigland at redhat.com>
AuthorDate:    Mon Oct 3 16:55:02 2011 -0500
Committer:     David Teigland <teigland at redhat.com>
CommitterDate: Mon Oct 3 16:55:02 2011 -0500

libdlm: more Makefile munging

Signed-off-by: David Teigland <teigland at redhat.com>
---
 libdlm/Makefile |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/libdlm/Makefile b/libdlm/Makefile
index 7f4be49..9a8c383 100644
--- a/libdlm/Makefile
+++ b/libdlm/Makefile
@@ -1,10 +1,11 @@
 DESTDIR=
 PREFIX=/usr
-LIBDIR=/usr/lib64
-HDRDIR=/usr/include 
-MANDIR=/usr/share/man
-PKGDIR=/usr/lib64/pkgconfig
-UDEVDIR=/etc/udev/rules.d
+LIBNUM=/lib64
+LIBDIR=$(PREFIX)/$(LIBNUM)
+HDRDIR=$(PREFIX)/include 
+MANDIR=$(PREFIX)/share/man
+PKGDIR=$(PREFIX)/$(LIBNUM)/pkgconfig
+UDEVDIR=/lib/udev/rules.d
 
 LIB_NAME = libdlm
 LIB_MAJOR = 3


More information about the cluster-commits mailing list