blob: 2c673cc6ab749272ebe7835e750b027432e898c2 [file] [log] [blame]
Misha Brukman7ae6ff42008-12-31 17:34:06 +00001LLVM notes
2----------
3
4This directory contains Google Test 1.2.1, with all elements removed except for
5the actual source code, to minimize the addition to the LLVM distribution.
6
7Cleaned up as follows:
Misha Brukmane5f94712009-01-01 02:05:43 +00008
9# Remove all the unnecessary files and directories
Misha Brukman7ae6ff42008-12-31 17:34:06 +000010$ rm -f aclocal* configure* Makefile* CHANGES CONTRIBUTORS README
11$ rm -rf build-aux m4 make msvc samples scons scripts test xcode
Misha Brukman7ae6ff42008-12-31 17:34:06 +000012$ rm -f `find . -name \*\.pump`
Misha Brukmane5f94712009-01-01 02:05:43 +000013
14# Move all the source files to the current directory
Misha Brukman3aae44e2009-01-01 01:29:44 +000015$ mv src/* .
16$ rmdir src
Misha Brukman7ae6ff42008-12-31 17:34:06 +000017
Misha Brukman715a9582009-01-02 15:28:00 +000018# Move extra headers into the already-existing internal headers dir
Misha Brukmane5f94712009-01-01 02:05:43 +000019$ mv *.h include/gtest/internal/
20
21# Update paths to the included files
22$ perl -pi -e 's|^#include "src/|#include "gtest/internal/|' *.cc
23
Misha Brukman715a9582009-01-02 15:28:00 +000024$ rm -f gtest-all.cc gtest_main.cc
Misha Brukmane5f94712009-01-01 02:05:43 +000025
Misha Brukman105a91a2009-01-05 17:42:15 +000026$ mv COPYING LICENSE.TXT