summaryrefslogblamecommitdiffstats
path: root/gnustep-libs/FUNCTIONS
blob: 218c5fd4e77fd0d48e21cb1e951001a9c18383bb (plain) (tree)
1
2
3
4
5
6
7
8
    
                                                   

                        
 
                                                                    
      
                                                            






                         

 
                               
 
                               
                                                         
                                   
                                         
    
 



                        
                                                         
                                   
                                         


    
#---
## Replace sorcerys default_build with a custom one
#---
function default_build()
{
  if [[ -f ${INSTALL_ROOT}/usr/share/GNUstep/Makefiles/GNUstep.sh ]]
  then
    . ${INSTALL_ROOT}/usr/share/GNUstep/Makefiles/GNUstep.sh
  fi
  if [[ -x ./configure ]]
  then
    real_default_build
  else
    make $@
  fi
}

function default_post_install()
{
  real_default_post_install  &&
  if [[ -x ${INSTALL_ROOT}/usr/bin/make_services ]]; then
    message "Running make_services"
    ${INSTALL_ROOT}/usr/bin/make_services
  fi
}

# forgot this
function default_final()
{
  if [[ -x ${INSTALL_ROOT}/usr/bin/make_services ]]; then
    message "Running make_services"
    ${INSTALL_ROOT}/usr/bin/make_services
  fi
}