From e7dd213f49e026eaaf3ad1c414272e7af529e95b Mon Sep 17 00:00:00 2001 From: Andreas Kohn Date: Wed, 11 Dec 2024 22:56:32 +0100 Subject: [PATCH] Always set `installprefix` This aligns how `include/Makefile` and `src/Makefile` treat this, and fixes `make pkg` to not fail due to missing include files that ended up in a different directory. --- include/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Makefile b/include/Makefile index 4a0c6d4..f918d6f 100644 --- a/include/Makefile +++ b/include/Makefile @@ -21,7 +21,7 @@ INSTALLFILES = $(wildcard bpftune/*.h) DESTDIR ?= prefix ?= /usr -installprefix ?= $(DESTDIR)/$(prefix) +installprefix = $(DESTDIR)/$(prefix) INSTALLPATH = $(installprefix)/include