From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============6783413403508163167==" MIME-Version: 1.0 From: Ramesh Thomas Subject: [Accel-config] [PATCH 1/3] accel-config: Install test programs in /usr/lib Date: Wed, 05 Oct 2022 13:23:15 -0700 Message-ID: <20221005202317.2113-2-ramesh.thomas@intel.com> In-Reply-To: 20221005202317.2113-1-ramesh.thomas@intel.com To: accel-config@lists.01.org List-ID: --===============6783413403508163167== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Test programs are being installed into /usr/share which violates the policy https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#usrshareArchitect= ureindependentData Update make files to install test programs and related config files in /usr/lib Reported-by: Colin Ian King Signed-off-by: Ramesh Thomas --- 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 =3D $(BASH_COMPLETION_DIR) endif = accfgconf_file =3D contrib/accel-config.conf.sample -accfgconfdir =3D $(sysconfdir)/accel-config/ +accfgconfdir =3D $(prefix)/lib/accel-config/ accfgconf_DATA =3D $(accfgconf_file) = EXTRA_DIST +=3D $(accfgconf_file) accfg.spec.in accfg-test.spec.in = contrib_configs =3D contrib/configs/* -contribdir =3D $(prefix)/share/accel-config/contrib/configs +contribdir =3D $(prefix)/lib/accel-config/contrib/configs contrib_DATA =3D $(contrib_configs) = noinst_LIBRARIES =3D 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 =3D\ iaa_test = if ENABLE_TEST -testprogdir =3D $(datadir)/accel-config/test/ +testprogdir =3D $(prefix)/lib/accel-config/test/ testprog_DATA =3D common testprog_SCRIPTS =3D dsa_user_test_runner.sh iaa_user_test_runner.sh testprog_PROGRAMS =3D dsa_test iaa_test -- = 2.37.3 --===============6783413403508163167==--