Skip to content

Commit 17e3745

Browse files
lukeyeager3XX0
authored andcommitted
makefile: actually make DESTDIR an absolute path
1 parent e0276b3 commit 17e3745

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Makefile

+6-5
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ sysconfdir ?= $(prefix)/etc
66
datarootdir ?= $(prefix)/share
77
datadir ?= $(datarootdir)
88

9-
DESTDIR := $(abspath $(DESTDIR))
10-
BINDIR = $(DESTDIR)$(bindir)
11-
LIBDIR = $(DESTDIR)$(libdir)/enroot
12-
SYSCONFDIR = $(DESTDIR)$(sysconfdir)/enroot
13-
DATADIR = $(DESTDIR)$(datadir)/enroot
9+
override DESTDIR := $(abspath $(DESTDIR))
10+
11+
BINDIR = $(DESTDIR)$(bindir)
12+
LIBDIR = $(DESTDIR)$(libdir)/enroot
13+
SYSCONFDIR = $(DESTDIR)$(sysconfdir)/enroot
14+
DATADIR = $(DESTDIR)$(datadir)/enroot
1415

1516
VERSION := 3.4.0
1617
PACKAGE ?= enroot

0 commit comments

Comments
 (0)