17 lines
553 B
Bash
17 lines
553 B
Bash
[ -z "${FILES_INSTALL_DIR}" ] && FILES_INSTALL_DIR="${PREFIX}/share/@P@/@NAME@" # @TODO@
|
|
|
|
# create destination directories
|
|
echo "Installing files into ${FILES_INSTALL_DIR}"
|
|
build_dir_tree "${FILES_INSTALL_DIR}" || return 1
|
|
|
|
# copy across the files (note this copies everything with mode 0644).
|
|
for file in src/@NAME@/*
|
|
do
|
|
[ "$(echo $(basename ${file}) | cut -b1-6)" == "build." ] && continue
|
|
install_file ${file} ${FILES_INSTALL_DIR} 0644 || return 1
|
|
done
|
|
|
|
print_success "Files installed"
|
|
# kate: @KATE_MODELINE@
|
|
# vim: syntax=sh:@VIM_MODELINE@
|