From f5bcbe5b0d4f683663da96e7953a151ede8cfaf0 Mon Sep 17 00:00:00 2001 From: Igor Ostapenko Date: Mon, 8 May 2023 04:57:55 +0300 Subject: [PATCH] Makefile: init SYSCONFDIR before using it (#1044) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c0b61939a..80a851c25 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ PREFIX ?= /usr/local BINPREFIX ?= "$(PREFIX)/bin" +SYSCONFDIR ?= $(PREFIX)/etc SHELL := bash OS = $(shell uname) @@ -19,7 +20,6 @@ else COMPL_DIR ?= "$(DESTDIR)$(SYSCONFDIR)/bash-completion/completions" endif -SYSCONFDIR ?= $(PREFIX)/etc BINS = $(wildcard bin/git-*) MANS = $(wildcard man/git-*.md) MAN_BINS = $(filter-out man/git-extras.md, $(MANS))