]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
Revert "Makefile: ensure CONF_USR_DIR honours the libdir config"
authorLuca Boccassi <bluca@debian.org>
Mon, 6 Nov 2023 00:14:10 +0000 (00:14 +0000)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 9 Nov 2023 17:03:18 +0000 (09:03 -0800)
LIBDIR in Debian and derivatives is not /usr/lib/, it's
/usr/lib/<architecture triplet>/, which is different, and it's the
wrong location where to install architecture-independent default
configuration files, which should always go to /usr/lib/ instead.
Installing these files to the per-architecture directory is not
the right thing, hence revert the change.

This reverts commit 946753a4459bd035132a27bb2eb87529c1979b90.

Signed-off-by: Luca Boccassi <bluca@debian.org>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Makefile

index 5c559c8dc80540003b10575cb2bb7187931cb3c5..a24844cf0fce60d7a91c804601871427027dee39 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ endif
 PREFIX?=/usr
 SBINDIR?=/sbin
 CONF_ETC_DIR?=/etc/iproute2
-CONF_USR_DIR?=$(LIBDIR)/iproute2
+CONF_USR_DIR?=$(PREFIX)/lib/iproute2
 NETNS_RUN_DIR?=/var/run/netns
 NETNS_ETC_DIR?=/etc/netns
 DATADIR?=$(PREFIX)/share