source: ThirdParty/CxxTest/trunk/Makefile.am @ 2710

Last change on this file since 2710 was 2710, checked in by lou, 9 years ago

Revisions to CxxTest? installation.

File size: 1.1 KB
Line 
1# Copyright (C) 2007-2009 Stefan Vigerske
2# All Rights Reserved.
3# This file is distributed under the Eclipse Public License.
4
5## $Id: Makefile.am 2639 2012-11-20 15:30:18Z stefan $
6
7AUTOMAKE_OPTIONS = foreign
8
9EXTRA_DIST = get.CxxTest INSTALL.CxxTest
10
11# pkg-config data file
12pkgconfiglibdir = $(libdir)/pkgconfig
13pkgconfiglib_DATA = coincxxtest.pc
14
15# Source and header files to be installed in $(includedir)/cxxtest. Call them
16# data to evade automake's need to see a static list for code files.
17
18cxxincdir = $(includedir)/coin/ThirdParty/cxxtest
19cxxinc_DATA = $(CXXTESTHDRS)
20
21# Install cxxtestgen in the bin directory. The hook will edit it so that it
22# can find its modules in libdir/cxxtest/python.
23
24bin_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
29
30# Copy the cxxtest/python subdirectory into $(libdir)/cxxtest
31
32install-exec-local:
33        $(INSTALL) -d $(libdir)/cxxtest
34        cp -r $(srcdir)/cxxtest/python $(libdir)/cxxtest
35
36uninstall-local:
37        rm -rf $(libdir)/cxxtest
38
39# Must be set, even if empty
40
41DISTCLEANFILES =
42
43include BuildTools/Makemain.inc
44
Note: See TracBrowser for help on using the repository browser.