All of lore.kernel.org
 help / color / mirror / Atom feed
* [Accel-config] [PATCH 1/3] accel-config: Install test programs in /usr/lib
@ 2022-10-05 20:23 Ramesh Thomas
  0 siblings, 0 replies; only message in thread
From: Ramesh Thomas @ 2022-10-05 20:23 UTC (permalink / raw)
  To: accel-config

[-- Attachment #1: Type: text/plain, Size: 1585 bytes --]

Test programs are being installed into /usr/share which violates the
policy
https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#usrshareArchitectureindependentData

Update make files to install test programs and related config files in
/usr/lib

Reported-by: Colin Ian King <colin.king(a)intel.com>
Signed-off-by: Ramesh Thomas <ramesh.thomas(a)intel.com>
---
 Makefile.am      | 4 ++--
 test/Makefile.am | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index b649934..b5cc850 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,13 +34,13 @@ bashcompletiondir = $(BASH_COMPLETION_DIR)
 endif
 
 accfgconf_file = contrib/accel-config.conf.sample
-accfgconfdir = $(sysconfdir)/accel-config/
+accfgconfdir = $(prefix)/lib/accel-config/
 accfgconf_DATA = $(accfgconf_file)
 
 EXTRA_DIST += $(accfgconf_file) accfg.spec.in accfg-test.spec.in
 
 contrib_configs = contrib/configs/*
-contribdir = $(prefix)/share/accel-config/contrib/configs
+contribdir = $(prefix)/lib/accel-config/contrib/configs
 contrib_DATA = $(contrib_configs)
 
 noinst_LIBRARIES = libccan.a
diff --git a/test/Makefile.am b/test/Makefile.am
index a42d16c..78127a2 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -13,7 +13,7 @@ check_PROGRAMS =\
 	iaa_test
 
 if ENABLE_TEST
-testprogdir = $(datadir)/accel-config/test/
+testprogdir = $(prefix)/lib/accel-config/test/
 testprog_DATA = common
 testprog_SCRIPTS = dsa_user_test_runner.sh iaa_user_test_runner.sh
 testprog_PROGRAMS = dsa_test iaa_test
-- 
2.37.3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-05 20:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-05 20:23 [Accel-config] [PATCH 1/3] accel-config: Install test programs in /usr/lib Ramesh Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.