mirror of
https://github.com/dynup/kpatch
synced 2024-12-11 16:04:40 +00:00
ea945f6121
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.
17 lines
442 B
Makefile
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
|