Ignore:
Timestamp:
Feb 18, 2013 1:21:46 AM (9 years ago)
Author:
lou
Message:

Revisions to CxxTest? installation.

File:
1 edited

Legend:

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

    r2707 r2710  
    1919cxxinc_DATA = $(CXXTESTHDRS)
    2020
    21 # Install cxxtestgen in the bin directory
     21# Install cxxtestgen in the bin directory. The hook will edit it so that it
     22# can find its modules in libdir/cxxtest/python.
    2223
    2324bin_SCRIPTS = cxxtest/bin/cxxtestgen
     25
     26install-exec-hook:
     27        cd $(bindir) && \
     28        sed -i -e "/sys.path.insert/s/os.sep/os.sep+'lib'+os.sep+'cxxtest'+os.sep/" cxxtestgen
    2429
    2530# Copy the cxxtest/python subdirectory into $(libdir)/cxxtest
    2631
    2732install-exec-local:
     33        $(INSTALL) -d $(libdir)/cxxtest
    2834        cp -r $(srcdir)/cxxtest/python $(libdir)/cxxtest
    2935
Note: See TracChangeset for help on using the changeset viewer.