Ignore:
Timestamp:
Jul 22, 2010 9:10:34 AM (9 years ago)
Author:
stefan
Message:

remove addlibs file in uninstall

File:
1 edited

Legend:

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

    r1567 r1650  
    2626libfiltersqp_la_LDFLAGS = $(LT_LDFLAGS)
    2727
    28 if COIN_HAS_PKGCONFIG
    29 addlibsdir = $(datadir)/coin/doc/ThirdParty/FilterSQP
    30 addlibs_DATA = filtersqp_addlibs.txt
    31 
    32 filtersqp_addlibs.txt : coinfiltersqp.pc
    33         PKG_CONFIG_PATH=.:@COIN_PKG_CONFIG_PATH@ --libs coinfiltersqp > filtersqp_addlibs.txt
    34 endif
    35 
    3628pkgconfiglibdir = $(libdir)/pkgconfig
    3729pkgconfiglib_DATA = coinfiltersqp.pc
     30
     31if COIN_HAS_PKGCONFIG
     32addlibsdir = $(DESTDIR)$(datadir)/coin/doc/ThirdParty/FilterSQP
     33       
     34install-data-hook:
     35        @$(mkdir_p) "$(addlibsdir)"
     36        PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
     37        $(PKG_CONFIG) --libs coinfiltersqp > $(addlibsdir)/filtersqp_addlibs.txt
     38
     39uninstall-hook:
     40        rm -f $(addlibsdir)/filtersqp_addlibs.txt
     41endif
    3842
    3943########################################################################
     
    4145########################################################################
    4246
    43 CLEANFILES = filtersqp_addlibs.txt
     47CLEANFILES =
    4448
    4549# Files that are generated and should be cleaned with make distclean
Note: See TracChangeset for help on using the changeset viewer.