lw-build-system/scripts/build.files.none/build.install-files

16 lines
488 B
Plaintext
Raw Normal View History

FILES_INSTALL_DIR="${SHAREDIR}/@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
2006-12-15 10:33:26 +00:00
[ "$(echo $(basename ${file}) | cut -b1-6)" == "build." ] && continue
install_file ${file} ${FILES_INSTALL_DIR} 0644 || return 1
done
print_success "Files installed"
2007-08-08 13:03:18 +01:00
# vim: syntax=sh:@VIM_MODELINE@