Merge pull request #335 from spartacus06/user-libdir

allow user-defined LIBDIR in install paths
This commit is contained in:
Josh Poimboeuf 2014-07-28 15:55:43 -05:00
commit 7db96adb9c

View File

@ -4,13 +4,14 @@ CC = gcc
INSTALL = /usr/bin/install
PREFIX ?= /usr/local
LIBDIR ?= lib
BINDIR = $(DESTDIR)$(PREFIX)/bin
SBINDIR = $(DESTDIR)$(PREFIX)/sbin
MODULESDIR = $(DESTDIR)$(PREFIX)/lib/modules
MODULESDIR = $(DESTDIR)$(PREFIX)/$(LIBDIR)/modules
LIBEXECDIR = $(DESTDIR)$(PREFIX)/libexec/kpatch
DATADIR = $(DESTDIR)$(PREFIX)/share/kpatch
MANDIR = $(DESTDIR)$(PREFIX)/share/man/man1
DRACUTDIR = $(DESTDIR)/usr/lib/dracut/modules.d/99kpatch
DRACUTDIR = $(DESTDIR)/usr/$(LIBDIR)/dracut/modules.d/99kpatch
.PHONY: all install clean
.DEFAULT: all