kpatch/Makefile.inc
Josh Poimboeuf ea945f6121 fix DRACUTDIR to be in /usr/lib/dracut
Unforunately the dracut module doesn't work if installed in
/usr/local/lib/dracut.  It must always be installed in
/usr/lib/dracut regardless of the install prefix.
2014-04-14 12:39:19 -05:00

17 lines
442 B
Makefile

SHELL = /bin/sh
CC = gcc
INSTALL = /usr/bin/install
PREFIX ?= /usr/local
BINDIR = $(DESTDIR)$(PREFIX)/bin
SBINDIR = $(DESTDIR)$(PREFIX)/sbin
MODULESDIR = $(DESTDIR)$(PREFIX)/lib/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
.PHONY: all install clean
.DEFAULT: all