2006-07-30 13:13:46 +01:00
|
|
|
[ -z "${FILESDIR}" ] && FILESDIR="${PREFIX}/share/@P@/@NAME@" # @TODO@
|
|
|
|
|
|
|
|
# create destination directories
|
|
|
|
echo "Installing files into ${FILESDIR}"
|
|
|
|
build_dir_tree "${FILESDIR}" || return 1
|
|
|
|
|
2007-02-05 12:54:48 +00:00
|
|
|
# copy across the files (note this copies everything with mode 0644).
|
2006-07-30 13:13:46 +01:00
|
|
|
for file in src/@NAME@/*
|
|
|
|
do
|
2006-12-15 10:33:26 +00:00
|
|
|
[ "$(echo $(basename ${file}) | cut -b1-6)" == "build." ] && continue
|
2007-02-05 12:54:48 +00:00
|
|
|
install_file ${file} ${FILESDIR} 0644 || return 1
|
2006-07-30 13:13:46 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
print_success "Files installed"
|
|
|
|
# kate: @KATE_MODELINE@
|
2007-08-08 13:03:18 +01:00
|
|
|
# vim: syntax=sh:@VIM_MODELINE@
|