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 --- docs/dev_guide/1_Quickstart.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'docs/dev_guide') diff --git a/docs/dev_guide/1_Quickstart.md b/docs/dev_guide/1_Quickstart.md index c9f3897..30af4f2 100644 --- a/docs/dev_guide/1_Quickstart.md +++ b/docs/dev_guide/1_Quickstart.md @@ -7,10 +7,7 @@ using **cmake module** then use `config.cmake` file to configure your project sp ```bash mkdir -p conf.d/cmake -# RPM based distribution -cp /usr/share/cmake/Modules/CMakeAfbTemplates/samples.d/config.cmake.sample conf.d/cmake/config.cmake -# DEB based distribution with X.Y as cmake version -cp /usr/share/cmake-X.Y/Modules/CMakeAfbTemplates/samples.d/config.cmake.sample conf.d/cmake/config.cmake +cp /usr/share/doc/CMakeAfbTemplates/samples.d/config.cmake.sample conf.d/cmake/config.cmake ``` Edit the copied config.cmake file to fit your needs. @@ -20,10 +17,7 @@ Now, create your top CMakeLists.txt file which include `config.cmake` file. An example is available in the **cmake module** that you can copy and use: ```bash -# RPM based distribution -cp /usr/share/cmake/Modules/CMakeAfbTemplates/samples.d/CMakeLists.txt.sample CMakeLists.txt -# DEB based distribution with X.Y as cmake version -cp /usr/share/cmake-X.Y/Modules/CMakeAfbTemplates/samples.d/CMakeLists.txt.sample CMakeLists.txt +cp /usr/share/doc/CMakeAfbTemplates/samples.d/CMakeLists.txt.sample CMakeLists.txt ``` ## Auto-detection of CMakeLists.txt and *.cmake files -- cgit 1.2.3-korg