NOTES:add install notes

cc: @linux-player9

[skip ci]
This commit is contained in:
andy5995
2018-10-04 23:40:25 -05:00
parent 6818b21625
commit a5127acd1e
2 changed files with 12 additions and 0 deletions

1
.gitignore vendored
View File

@@ -107,3 +107,4 @@ unsuccessfulbuild
#
build
local-build
install-build

View File

@@ -23,3 +23,14 @@ ${HELP2MAN_OUT_PATH}${TARGET_NAME_MANPAGE} ${HELP2MAN_OUT_PATH}${TARGET_NAME}
# Searcn and replace using 'git grep'
git grep -l 'original_text' | xargs sed -i 's/original_text/new_text/g'
# installing to a temp directory, preparation for packaging
mkdir install-build
cd install-build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DWANT_INSTALL_DATA=ON
make -j? (where ? is the number of CPU cores)
make install DESTDIR=$PWD/install-test