Commit ab1a6973 authored by Guido Trotter's avatar Guido Trotter
Browse files

devel/ make it more project generic

Only install ganeti specific files if they exist. This way we can call
ganeti's devel/upload in another sub-projects (eg. nbma) and have it
uploaded to a host as well, without having to create a new script there.
Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarIustin Pop <>
parent a9613def
......@@ -74,17 +74,20 @@ fi
make $make_args install DESTDIR="$TXD"
# copy additional needed files
[ -f doc/examples/ganeti.initd ] && \
install -D --mode=0755 doc/examples/ganeti.initd \
[ -f doc/examples/bash_completion ] && \
install -D --mode=0644 doc/examples/bash_completion \
if [ -z "$NO_CRON" ]; then
if [ -f doc/examples/ganeti.cron -a -z "$NO_CRON" ]; then
install -D --mode=0644 doc/examples/ganeti.cron \
[ -f doc/examples/dumb-allocator ] && \
install -D --mode=0755 doc/examples/dumb-allocator \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment