summaryrefslogtreecommitdiffstats
path: root/docs/dev_guide/1_Quickstart.md
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-12-12 10:39:31 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-14 09:15:07 +0000
commitc631646116197507f59008bc4a4560c74756b342 (patch)
tree04e9f003e15837a43d27ee4e04d4ca7aeefc3583 /docs/dev_guide/1_Quickstart.md
parentc815f74207220e5e571fece7cbad00b7a39ae8c9 (diff)
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 <romain.forlot@iot.bzh>
Diffstat (limited to 'docs/dev_guide/1_Quickstart.md')
-rw-r--r--docs/dev_guide/1_Quickstart.md10
1 files changed, 2 insertions, 8 deletions
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