File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -143,17 +143,19 @@ force:
143143makefile.setup : setup
144144
145145version_path := src/templates_parser-version.adb
146- version_data := -- $() Generated by ../Makefile.\nseparate \
147- (Templates_Parser)\nfunction Version return String is\nbegin\n $() $() \
148- return "$(VERSION ) ";\nend Version;\n
149146
150147setup : tp_xmlada.gpr $(version_path ) force
151148 printf " $( foreach v,$( ALL_OPTIONS) ,$( v) = $( $( v) ) \n ) " > makefile.setup
152149
153150build : $(version_path )
154151
155152$(version_path ) :
156- printf -- ' $(version_data)' > $(version_path )
153+ echo " -- Generated, by ../Makefile" > $(version_path )
154+ echo " separate(Templates_Parser)" >> $(version_path )
155+ echo " function Version return String is" >> $(version_path )
156+ echo " begin" >> $(version_path )
157+ echo " return \" $( VERSION) \" ;" >> $(version_path )
158+ echo " end Version;" >> $(version_path )
157159
158160# ######################################################################
159161# install
You can’t perform that action at this time.
0 commit comments