Skip to content

Commit

Permalink
makefile: actually make DESTDIR an absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeyeager authored and 3XX0 committed Feb 8, 2023
1 parent e0276b3 commit 17e3745
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ sysconfdir ?= $(prefix)/etc
datarootdir ?= $(prefix)/share
datadir ?= $(datarootdir)

DESTDIR := $(abspath $(DESTDIR))
BINDIR = $(DESTDIR)$(bindir)
LIBDIR = $(DESTDIR)$(libdir)/enroot
SYSCONFDIR = $(DESTDIR)$(sysconfdir)/enroot
DATADIR = $(DESTDIR)$(datadir)/enroot
override DESTDIR := $(abspath $(DESTDIR))

BINDIR = $(DESTDIR)$(bindir)
LIBDIR = $(DESTDIR)$(libdir)/enroot
SYSCONFDIR = $(DESTDIR)$(sysconfdir)/enroot
DATADIR = $(DESTDIR)$(datadir)/enroot

VERSION := 3.4.0
PACKAGE ?= enroot
Expand Down

0 comments on commit 17e3745

Please sign in to comment.