Fix repeated path parts in source and include paths because they are

already absolute and don't need to be pwd rooted again. Also update
copyright on C source.
This commit is contained in:
Rene Rivera
2015-01-28 11:54:00 -06:00
parent 7a4f232850
commit 1e9ad49f15
2 changed files with 3 additions and 3 deletions

View File

@ -30,9 +30,9 @@ local rule check_target ( language : ext )
local predef_jam
= [ modules.binding $(__name__) ] ;
local source_path
= [ path.root $(predef_jam:D)/predef_check_as_$(language).$(ext) [ path.pwd ] ] ;
= $(predef_jam:D)/predef_check_as_$(language).$(ext) ;
local include_path
= [ path.root $(predef_jam:D)/../include [ path.pwd ] ] ;
= $(predef_jam:D)/../include ;
_check_exe_($(language)) = [
exe predef_check_as_$(language)
: $(source_path)

View File

@ -1,5 +1,5 @@
/*
Copyright Rene Rivera 2011-2012
Copyright Rene Rivera 2011-2015
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)