From: Per P. <per...@ma...> - 2003-05-21 19:10:15
|
On Thursday, May 15, 2003, at 11:34 PM, Paul Kienzle wrote: > * Communications: > - sqrt over Galois field > - BCH code, modulator > - bug fixes and documentation improvements I'm still having a problem with the install_doc target in main/comms/Makefile on OS X (described in a previous mail). > > * administration: > - target specific build instructions (MacOSX, windows, Irix) > Could someone confirm that the following patches are OK on non-OSX systems (and generally acceptable)? /Per Index: configure.base =================================================================== RCS file: /cvsroot/octave/octave-forge/configure.base,v retrieving revision 1.14 diff -u -w -r1.14 configure.base --- configure.base 15 May 2003 16:05:50 -0000 1.14 +++ configure.base 21 May 2003 18:31:12 -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 Index: octinst.sh.in =================================================================== RCS file: /cvsroot/octave/octave-forge/octinst.sh.in,v retrieving revision 1.4 diff -u -w -r1.4 octinst.sh.in --- octinst.sh.in 9 Mar 2003 02:34:44 -0000 1.4 +++ octinst.sh.in 21 May 2003 18:56:57 -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 ------------ Per Persson Blekinge Institute of Technology Dept. of Signal Processing and Telecommunications www: http://www.its.bth.se/staff/pee e-mail: per...@bt... |