Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] api2 module change to remove *.la files

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Robin Cook <rcook AT wyrms.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: [SM-Discuss] api2 module change to remove *.la files
  • Date: Sat, 15 Jun 2013 08:26:48 -0500

I made the change below to remove any *.la files that get installed. There
are some spells where the find statements need to be added to the INSTALL
file as they done use default_install.

So far I have found only one spell that looks for a *.la file during
configure but was easily fixed.


#---------------------------------------------------------------------
## @Type API
## Used if no INSTALL script is found
## Default install is:
## <pre>
## make install
## </pre>
##
#---------------------------------------------------------------------
function real_default_sorcery_install() {
debug "build_api/api2" "Starting real_default_sorcery_install"
make install
find ${INSTALL_ROOT}/lib -name "*.la" | xargs rm -fv
find ${INSTALL_ROOT}/usr/lib -name "*.la" | xargs rm -fv
find ${INTALLL_ROOT}/usr/libexec -name "*.la" | xargs rm -fv
}

Attachment: signature.asc
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page