From c960236b8c93108d5c307d842283cc42fbb2794e Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Mon, 14 Mar 2016 00:12:12 +0100 Subject: [PATCH] build: ensure "make distcheck" work for any value of sysconfdir When using `--sysconfdir=/etc`, `make distcheck` was failing because it did use `--prefix=...` to force a different installation path (and not `DESTDIR`). During `make distcheck`, we force the use the original value. --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index ea936ec1..c7a1913b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -38,5 +38,7 @@ DISTCHECK_CONFIGURE_FLAGS = $(CONFIGURE_ARGS) \ --with-sysusersdir=no \ --with-systemdsystemunitdir=no \ --with-launchddaemonsdir=no \ - --with-apparmordir=no + --with-apparmordir=no \ + --sysconfdir='$$(prefix)/etc' + -- 2.39.5