Ignore:
Timestamp:
Jul 22, 2010 6:01:15 AM (11 years ago)
Author:
stefan
Message:

create xxx_addlibs.txt after installation by using only .pc files of installed projects; rerun autotools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Blas/trunk/Makefile.am

    r1566 r1633  
    5353libcoinblas_la_LDFLAGS = $(LT_LDFLAGS)
    5454
    55 if COIN_HAS_PKGCONFIG
    56 addlibsdir = $(datadir)/coin/doc/ThirdParty/Blas
    57 addlibs_DATA = blas_addlibs.txt
    58 
    59 blas_addlibs.txt : coinblas.pc
    60         PKG_CONFIG_PATH=.:@COIN_PKG_CONFIG_PATH@ $(PKG_CONFIG) --libs coinblas > blas_addlibs.txt
    61 endif
    62 
    6355pkgconfiglibdir = $(libdir)/pkgconfig
    6456pkgconfiglib_DATA = coinblas.pc
     57
     58if COIN_HAS_PKGCONFIG
     59addlibsdir = $(DESTDIR)$(datadir)/coin/doc/ThirdParty/Blas
     60       
     61install-data-hook:
     62        @$(mkdir_p) "$(addlibsdir)"
     63        PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ PKG_CONFIG_DISABLE_UNINSTALLED= \
     64        $(PKG_CONFIG) --libs coinblas > $(addlibsdir)/blas_addlibs.txt
     65endif
    6566
    6667########################################################################
Note: See TracChangeset for help on using the changeset viewer.