Magellan Linux

Diff of /branches/R11-unstable/include/multilib.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9367 by niro, Sun Nov 27 23:05:49 2011 UTC revision 9756 by niro, Tue Jan 10 16:09:38 2012 UTC
# Line 422  minstalldocs() Line 422  minstalldocs()
422  {  {
423   local abi   local abi
424   local docfiles   local docfiles
  docfiles="$@"  
425    
426   local abis_to_run="${MULTILIB_ABIS}"   local abis_to_run="${MULTILIB_ABIS}"
427    
# Line 432  minstalldocs() Line 431  minstalldocs()
431   for abi in ${abis_to_run}   for abi in ${abis_to_run}
432   do   do
433   cd ${SRCDIR}-${abi}   cd ${SRCDIR}-${abi}
434   if [ ! -d ${BINDIR}/usr/share/doc/${PNAME}-${PVER} ]   oldminstalldocs $@ || die
  then  
  install -d ${BINDIR}/usr/share/doc/${PNAME}-${PVER} || die "creating doc dirs."  
  fi  
   
  for i in ${docfiles}  
  do  
  cat ${SRCDIR}-${abi}/${i} | gzip -9c > ${SRCDIR}-${abi}/${i}.gz || die "gzipping docs."  
  install -m 0644 ${SRCDIR}-${abi}/${i}.gz \  
  ${BINDIR}/usr/share/doc/${PNAME}-${PVER} || die "coping docs."  
  done  
435   done   done
436  }  }
437    

Legend:
Removed from v.9367  
changed lines
  Added in v.9756