Ignore:
Timestamp:
Jul 22, 2010 6:01:02 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
  • ThirdParty/ASL/trunk/Makefile.am

    r1565 r1632  
    4040thirdpartylib_DATA = $(libampl)
    4141
    42 if COIN_HAS_PKGCONFIG
    43 addlibsdir = $(datadir)/coin/doc/ThirdParty/ASL
    44 addlibs_DATA = asl_addlibs.txt
    45 
    46 asl_addlibs.txt : coinasl.pc
    47         PKG_CONFIG_PATH=.:@COIN_PKG_CONFIG_PATH@ $(PKG_CONFIG) --libs coinasl > asl_addlibs.txt
    48 endif
    49 
    5042pkgconfiglibdir = $(libdir)/pkgconfig
    5143pkgconfiglib_DATA = coinasl.pc
     44
     45if COIN_HAS_PKGCONFIG
     46addlibsdir = $(DESTDIR)$(datadir)/coin/doc/ThirdParty/ASL
     47       
     48install-data-hook:
     49        @$(mkdir_p) "$(addlibsdir)"
     50        PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ PKG_CONFIG_DISABLE_UNINSTALLED= \
     51        $(PKG_CONFIG) --libs coinasl > $(addlibsdir)/asl_addlibs.txt
     52endif
    5253
    5354CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) asl_addlibs.txt
Note: See TracChangeset for help on using the changeset viewer.