mirror of
https://github.com/dynup/kpatch
synced 2024-12-23 21:52:07 +00:00
735dfcb005
User reported cases where libraries are in lib32/64 directories, not lib. Allow the user to override by setting LIBDIR. Fixes #167 Signed-off-by: Seth Jennings <sjenning@redhat.com>
18 lines
471 B
Makefile
18 lines
471 B
Makefile
SHELL = /bin/sh
|
|
CC = gcc
|
|
|
|
INSTALL = /usr/bin/install
|
|
|
|
PREFIX ?= /usr/local
|
|
LIBDIR ?= lib
|
|
BINDIR = $(DESTDIR)$(PREFIX)/bin
|
|
SBINDIR = $(DESTDIR)$(PREFIX)/sbin
|
|
MODULESDIR = $(DESTDIR)$(PREFIX)/$(LIBDIR)/modules
|
|
LIBEXECDIR = $(DESTDIR)$(PREFIX)/libexec/kpatch
|
|
DATADIR = $(DESTDIR)$(PREFIX)/share/kpatch
|
|
MANDIR = $(DESTDIR)$(PREFIX)/share/man/man1
|
|
DRACUTDIR = $(DESTDIR)/usr/$(LIBDIR)/dracut/modules.d/99kpatch
|
|
|
|
.PHONY: all install clean
|
|
.DEFAULT: all
|