@@ -56,7 +56,7 @@ def amalgamate_source( source_top_dir=None,
56
56
target_source_path: output .cpp path
57
57
header_include_path: generated header path relative to target_source_path.
58
58
"""
59
- print ("Amalgating header..." )
59
+ print ("Amalgating header..." )
60
60
header = AmalgamationFile ( source_top_dir )
61
61
header .add_text ( "/// Json-cpp amalgated header (http://jsoncpp.sourceforge.net/)." )
62
62
header .add_text ( "/// It is intented to be used with #include <%s>" % header_include_path )
@@ -77,12 +77,12 @@ def amalgamate_source( source_top_dir=None,
77
77
header .add_text ( "#endif //ifndef JSON_AMALGATED_H_INCLUDED" )
78
78
79
79
target_header_path = os .path .join ( os .path .dirname (target_source_path ), header_include_path )
80
- print ("Writing amalgated header to %r" % target_header_path )
80
+ print ("Writing amalgated header to %r" % target_header_path )
81
81
header .write_to ( target_header_path )
82
82
83
83
base , ext = os .path .splitext ( header_include_path )
84
84
forward_header_include_path = base + "-forwards" + ext
85
- print ("Amalgating forward header..." )
85
+ print ("Amalgating forward header..." )
86
86
header = AmalgamationFile ( source_top_dir )
87
87
header .add_text ( "/// Json-cpp amalgated forward header (http://jsoncpp.sourceforge.net/)." )
88
88
header .add_text ( "/// It is intented to be used with #include <%s>" % forward_header_include_path )
@@ -99,10 +99,10 @@ def amalgamate_source( source_top_dir=None,
99
99
100
100
target_forward_header_path = os .path .join ( os .path .dirname (target_source_path ),
101
101
forward_header_include_path )
102
- print ("Writing amalgated forward header to %r" % target_forward_header_path )
102
+ print ("Writing amalgated forward header to %r" % target_forward_header_path )
103
103
header .write_to ( target_forward_header_path )
104
104
105
- print ("Amalgating source..." )
105
+ print ("Amalgating source..." )
106
106
source = AmalgamationFile ( source_top_dir )
107
107
source .add_text ( "/// Json-cpp amalgated source (http://jsoncpp.sourceforge.net/)." )
108
108
source .add_text ( "/// It is intented to be used with #include <%s>" % header_include_path )
@@ -118,7 +118,7 @@ def amalgamate_source( source_top_dir=None,
118
118
source .add_file ( os .path .join (lib_json , "json_value.cpp" ) )
119
119
source .add_file ( os .path .join (lib_json , "json_writer.cpp" ) )
120
120
121
- print ("Writing amalgated source to %r" % target_source_path )
121
+ print ("Writing amalgated source to %r" % target_source_path )
122
122
source .write_to ( target_source_path )
123
123
124
124
def main ():
@@ -144,7 +144,7 @@ def main():
144
144
sys .stderr .write ( msg + "\n " )
145
145
sys .exit ( 1 )
146
146
else :
147
- print ("Source succesfully amalagated" )
147
+ print ("Source succesfully amalagated" )
148
148
149
149
if __name__ == "__main__" :
150
150
main ()
0 commit comments