Use install_file function rather than direct cp, since it lets us use

INSTALL_PREFIX
This commit is contained in:
Laurence Withers 2007-02-05 12:54:48 +00:00
parent 7ce30bf7bd
commit 6667349652
1 changed files with 2 additions and 2 deletions

View File

@ -4,11 +4,11 @@
echo "Installing files into ${FILESDIR}"
build_dir_tree "${FILESDIR}" || return 1
# copy across the Doxygen-generated documentation
# 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
do_cmd cp -a ${file} ${FILESDIR} || return 1
install_file ${file} ${FILESDIR} 0644 || return 1
done
print_success "Files installed"