mirror of https://github.com/dynup/kpatch
Makefile: make libexec a parameter
Some distributions prefer not to use /usr/libexec. To make things easier for packaging, allow this directory to be set easily via environment variables. Signed-off-by: Chris J Arges <chris.j.arges@canonical.com>
This commit is contained in:
parent
053622b902
commit
06ad01b784
|
@ -5,10 +5,11 @@ INSTALL = /usr/bin/install
|
|||
|
||||
PREFIX ?= /usr/local
|
||||
LIBDIR ?= lib
|
||||
LIBEXEC ?= libexec
|
||||
BINDIR = $(DESTDIR)$(PREFIX)/bin
|
||||
SBINDIR = $(DESTDIR)$(PREFIX)/sbin
|
||||
MODULESDIR = $(DESTDIR)$(PREFIX)/$(LIBDIR)/kpatch
|
||||
LIBEXECDIR = $(DESTDIR)$(PREFIX)/libexec/kpatch
|
||||
LIBEXECDIR = $(DESTDIR)$(PREFIX)/$(LIBEXEC)/kpatch
|
||||
DATADIR = $(DESTDIR)$(PREFIX)/share/kpatch
|
||||
MANDIR = $(DESTDIR)$(PREFIX)/share/man/man1
|
||||
SYSTEMDDIR = $(DESTDIR)$(PREFIX)/lib/systemd/system
|
||||
|
|
Loading…
Reference in New Issue