From: Vincent Bernat Date: Sun, 13 Mar 2016 23:12:12 +0000 (+0100) Subject: build: ensure "make distcheck" work for any value of sysconfdir X-Git-Tag: 0.9.2~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c960236b8c93108d5c307d842283cc42fbb2794e;p=thirdparty%2Flldpd.git 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. --- 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' +