|
Boost-Commit : |
From: jurko.gospodnetic_at_[hidden]
Date: 2008-08-29 08:34:26
Author: jurko
Date: 2008-08-29 08:34:26 EDT (Fri, 29 Aug 2008)
New Revision: 48442
URL: http://svn.boost.org/trac/boost/changeset/48442
Log:
Minor stylistic changes made to the Boost Build make example.
Added:
trunk/tools/build/v2/example/make/jamroot.jam (contents, props changed)
- copied, changed from r48441, /trunk/tools/build/v2/example/make/Jamroot
Removed:
trunk/tools/build/v2/example/make/Jamroot
Text files modified:
trunk/tools/build/v2/example/make/foo.py | 3 +--
trunk/tools/build/v2/example/make/jamroot.jam | 5 ++---
trunk/tools/build/v2/example/make/main_cpp.pro | 3 +--
trunk/tools/build/v2/example/make/readme.txt | 4 ++--
4 files changed, 6 insertions(+), 9 deletions(-)
Deleted: trunk/tools/build/v2/example/make/Jamroot
==============================================================================
--- trunk/tools/build/v2/example/make/Jamroot 2008-08-29 08:34:26 EDT (Fri, 29 Aug 2008)
+++ (empty file)
@@ -1,11 +0,0 @@
-
-import toolset : flags ;
-
-path-constant HERE : . ;
-make main.cpp : main_cpp.pro : @do-something ;
-
-flags do-something PYTHON : <python.interpreter> ;
-actions do-something
-{
- "$(PYTHON:E=python)" "$(HERE)/foo.py" "$(>)" "$(<)"
-}
Modified: trunk/tools/build/v2/example/make/foo.py
==============================================================================
--- trunk/tools/build/v2/example/make/foo.py (original)
+++ trunk/tools/build/v2/example/make/foo.py 2008-08-29 08:34:26 EDT (Fri, 29 Aug 2008)
@@ -1,3 +1,2 @@
-
import sys
-open(sys.argv[2], "w").write(open(sys.argv[1]).read())
\ No newline at end of file
+open(sys.argv[2], "w").write(open(sys.argv[1]).read())
Copied: trunk/tools/build/v2/example/make/jamroot.jam (from r48441, /trunk/tools/build/v2/example/make/Jamroot)
==============================================================================
--- /trunk/tools/build/v2/example/make/Jamroot (original)
+++ trunk/tools/build/v2/example/make/jamroot.jam 2008-08-29 08:34:26 EDT (Fri, 29 Aug 2008)
@@ -1,10 +1,9 @@
-
-import toolset : flags ;
+import toolset ;
path-constant HERE : . ;
make main.cpp : main_cpp.pro : @do-something ;
-flags do-something PYTHON : <python.interpreter> ;
+toolset.flags do-something PYTHON : <python.interpreter> ;
actions do-something
{
"$(PYTHON:E=python)" "$(HERE)/foo.py" "$(>)" "$(<)"
Modified: trunk/tools/build/v2/example/make/main_cpp.pro
==============================================================================
--- trunk/tools/build/v2/example/make/main_cpp.pro (original)
+++ trunk/tools/build/v2/example/make/main_cpp.pro 2008-08-29 08:34:26 EDT (Fri, 29 Aug 2008)
@@ -1,2 +1 @@
-
-int main() { return 0; }
+int main() {}
Modified: trunk/tools/build/v2/example/make/readme.txt
==============================================================================
--- trunk/tools/build/v2/example/make/readme.txt (original)
+++ trunk/tools/build/v2/example/make/readme.txt 2008-08-29 08:34:26 EDT (Fri, 29 Aug 2008)
@@ -3,5 +3,5 @@
(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
-Example of using custom command to create one file from
-another, using the builtin 'make' rule.
+Example of using custom command to create one file from another, using the
+built-in 'make' rule.
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk