Changeset 1577 for trunk/Clp/Makefile.am


Ignore:
Timestamp:
Jul 22, 2010 6:03:20 AM (10 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
  • trunk/Clp/Makefile.am

    r1563 r1577  
    9696
    9797########################################################################
    98 #                  Installation of the addlibs file                    #
     98#                    Creation of the addlibs file                      #
    9999########################################################################
    100 
    101 if COIN_HAS_PKGCONFIG
    102 addlibsdir = $(datadir)/coin/doc/Clp
    103 addlibs_DATA = clp_addlibs.txt
    104 
    105 clp_addlibs.txt : clp.pc
    106         PKG_CONFIG_PATH=.:@COIN_PKG_CONFIG_PATH@ $(PKG_CONFIG) --libs clp > clp_addlibs.txt
    107 endif
    108100
    109101pkgconfiglibdir = $(libdir)/pkgconfig
    110102pkgconfiglib_DATA = clp.pc
     103
     104if COIN_HAS_PKGCONFIG
     105addlibsdir = $(DESTDIR)$(datadir)/coin/doc/Clp
     106       
     107install-data-hook:
     108        @$(mkdir_p) "$(addlibsdir)"
     109        PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ PKG_CONFIG_DISABLE_UNINSTALLED= \
     110        $(PKG_CONFIG) --libs clp > $(addlibsdir)/clp_addlibs.txt
     111endif
    111112
    112113########################################################################
Note: See TracChangeset for help on using the changeset viewer.