From c631646116197507f59008bc4a4560c74756b342 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 12 Dec 2018 10:39:31 +0100 Subject: Install docs and sample files in a separate dir Separate the samples files to be installed in the system doc dir which is: - /usr/share/doc Updating the documentation according to the new path to samples. Change-Id: Ib1958fb87d517ad84abddf3ec71102f7ecf877f5 Signed-off-by: Romain Forlot --- packaging/rpm/agl-cmake-apps-module.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'packaging') diff --git a/packaging/rpm/agl-cmake-apps-module.spec b/packaging/rpm/agl-cmake-apps-module.spec index 950514c..3124f97 100644 --- a/packaging/rpm/agl-cmake-apps-module.spec +++ b/packaging/rpm/agl-cmake-apps-module.spec @@ -33,7 +33,7 @@ framework binder apps. %build [ ! -d build ] && mkdir build cd build -cmake .. +cmake -DCMAKE_INSTALL_PREFIX=/usr .. %install [ -d build ] && cd build @@ -42,8 +42,14 @@ cmake .. %files %defattr(-,root,root) %dir %{_datadir}/cmake/Modules/ +%dir %{_defaultdocdir}/CMakeAfbTemplates/ %{_datadir}/cmake/Modules/* +%{_defaultdocdir}/CMakeAfbTemplates/* %changelog +* Wed Dec 12 2018 Romain +- Separation of docs files at installation +- Fix the install prefix at build time + * Thu Nov 5 2018 Romain - initial creation -- cgit 1.2.3-korg