forked from Telodendria/Cytoplasm
parent
c3429f035c
commit
08166dd3a7
1 changed files with 9 additions and 3 deletions
12
configure
vendored
12
configure
vendored
|
@ -184,22 +184,28 @@ compile_doc() {
|
||||||
install_out() {
|
install_out() {
|
||||||
src="$1"
|
src="$1"
|
||||||
out="$2"
|
out="$2"
|
||||||
|
dir=$(dirname "$out")
|
||||||
|
|
||||||
echo "${TAB}install -D \"$src\" \"$out\""
|
echo "${TAB}mkdir -p \"$dir\""
|
||||||
|
echo "${TAB}cp \"$src\" \"$out\""
|
||||||
}
|
}
|
||||||
|
|
||||||
install_man() {
|
install_man() {
|
||||||
src="${OUT}/man/man3/${LIB_NAME}-$(basename $1 .h).3"
|
src="${OUT}/man/man3/${LIB_NAME}-$(basename $1 .h).3"
|
||||||
out="$2"
|
out="$2"
|
||||||
|
dir=$(dirname "$out")
|
||||||
|
|
||||||
echo "${TAB}install -D \"$src\" \"$out\""
|
echo "${TAB}mkdir -p \"$dir\""
|
||||||
|
echo "${TAB}cp \"$src\" \"$out\""
|
||||||
}
|
}
|
||||||
|
|
||||||
install_tool() {
|
install_tool() {
|
||||||
src=${OUT}/bin/$(basename "$1" .c)
|
src=${OUT}/bin/$(basename "$1" .c)
|
||||||
out="$2"
|
out="$2"
|
||||||
|
dir=$(dirname "$out")
|
||||||
|
|
||||||
echo "${TAB}install -D \"$src\" \"$out\""
|
echo "${TAB}mkdir -p \"$dir\""
|
||||||
|
echo "${TAB}cp \"$src\" \"$out\""
|
||||||
}
|
}
|
||||||
|
|
||||||
uninstall_out() {
|
uninstall_out() {
|
||||||
|
|
Loading…
Reference in a new issue