Mercurial > forge
changeset 937:95178cedbc08 octave-forge
Use COPY_FLAGS to set options for cp when installing .oct files.
author | persquare |
---|---|
date | Wed, 21 May 2003 20:52:39 +0000 |
parents | 1380f4f27869 |
children | 48f905163410 |
files | configure.base octinst.sh.in |
diffstat | 2 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.base Wed May 21 18:20:08 2003 +0000 +++ b/configure.base Wed May 21 20:52:39 2003 +0000 @@ -224,6 +224,15 @@ AC_PROG_INSTALL AC_PROG_RANLIB +dnl Use $(COPY_FLAGS) to set options for cp when installing .oct files. +COPY_FLAGS="-fdp" +case "$canonical_host_type" in + powerpc-apple-darwin*) + COPY_FLAGS="-Rfp" + ;; +esac +AC_SUBST(COPY_FLAGS) + dnl Use $(STRIP) in the makefile to strip executables. If not found, dnl STRIP expands to ':', which in the makefile does nothing. dnl Don't need this for .oct files since mkoctfile handles them directly
--- a/octinst.sh.in Wed May 21 18:20:08 2003 +0000 +++ b/octinst.sh.in Wed May 21 20:52:39 2003 +0000 @@ -21,6 +21,7 @@ INSTALL_DATA="@INSTALL_DATA@" INSTALL_PROGRAM="@INSTALL_PROGRAM@" MKPKGADD="@TOPDIR@/admin/mkpkgadd" +COPY_FLAGS="@COPY_FLAGS@" # grab the m-files files=`echo $source/*.m` @@ -34,7 +35,7 @@ if test "$files" != "$source/*.oct" ; then $INSTALL -d $opath ## Grrr... install doesn't preserve links. Hope this works. - cp -fdp $files $opath + cp $COPY_FLAGS $files $opath fi # create PKG_ADD