summaryrefslogblamecommitdiffstats
path: root/gnustep-apps/FUNCTIONS
blob: 33dd67831bf0a9e86ad61417b05fbbc86883f26d (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
}

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