Ignore:
Timestamp:
Jul 22, 2010 6:02:04 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/Mumps/trunk/Makefile.am

    r1572 r1637  
    9797  $(MUMPSDIR)/libseq/mpi.h
    9898
    99 if COIN_HAS_PKGCONFIG
    100 addlibsdir = $(datadir)/coin/doc/ThirdParty/Mumps
    101 addlibs_DATA = mumps_addlibs.txt
    102 
    103 mumps_addlibs.txt : coinmumps.pc
    104         PKG_CONFIG_PATH=.:@COIN_PKG_CONFIG_PATH@ $(PKG_CONFIG) --libs coinmumps > mumps_addlibs.txt
    105 endif
    106 
    10799pkgconfiglibdir = $(libdir)/pkgconfig
    108100pkgconfiglib_DATA = coinmumps.pc
     101
     102if COIN_HAS_PKGCONFIG
     103addlibsdir = $(DESTDIR)$(datadir)/coin/doc/ThirdParty/Mumps
     104       
     105install-data-hook:
     106        @$(mkdir_p) "$(addlibsdir)"
     107        PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ PKG_CONFIG_DISABLE_UNINSTALLED= \
     108        $(PKG_CONFIG) --libs coinmumps > $(addlibsdir)/mumps_addlibs.txt
     109endif
    109110
    110111########################################################################
Note: See TracChangeset for help on using the changeset viewer.