Open CristianCantoro opened 3 years ago
Following the build instructions:
$ cd monicelli/ $ mkdir build/ $ cd build/ $ cmake .. -DCMAKE_INSTALL_PREFIX="$HOME/mcc" $ make all install
creates the following files in $HOME/mcc:
$HOME/mcc
~/mcc $ tree . . ├── bin │ └── mcc └── doc └── monicelli ├── LICENSE.txt └── README.md 3 directories, 3 files
On *nix systems, docs are usually under: share/doc/<proj>/doc, i.e.:
share/doc/<proj>/doc
/usr/local/share/doc
/usr/share/doc
so if building with -DCMAKE_INSTALL_PREFIX="/usr/local":
-DCMAKE_INSTALL_PREFIX="/usr/local"
cmake .. -DCMAKE_INSTALL_PREFIX="/usr/local"
should install:
/usr/local/bin/mcc
/usr/local/share/doc/monicelli/LICENSE.txt
/usr/local/share/doc/monicelli/README.txt
instead it of installing:
/usr/local/doc/monicelli/LICENSE.txt
/usr/local/doc/monicelli/README.txt
Following the build instructions:
creates the following files in
$HOME/mcc
:On *nix systems, docs are usually under:
share/doc/<proj>/doc
, i.e.:/usr/local/share/doc
/usr/share/doc
so if building with
-DCMAKE_INSTALL_PREFIX="/usr/local"
:should install:
/usr/local/bin/mcc
/usr/local/share/doc/monicelli/LICENSE.txt
/usr/local/share/doc/monicelli/README.txt
instead it of installing:
/usr/local/bin/mcc
/usr/local/doc/monicelli/LICENSE.txt
/usr/local/doc/monicelli/README.txt