dejagnu.am (automake-1.16.2.tar.xz) | : | dejagnu.am (automake-1.16.3.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 55 | skipping to change at line 55 | |||
## Note that in the rule we don't directly generate site.exp to avoid | ## Note that in the rule we don't directly generate site.exp to avoid | |||
## the possibility of a corrupted site.exp if make is interrupted. | ## the possibility of a corrupted site.exp if make is interrupted. | |||
## Jim Meyering has some useful text on this topic. | ## Jim Meyering has some useful text on this topic. | |||
site.exp: Makefile $(EXTRA_DEJAGNU_SITE_CONFIG) | site.exp: Makefile $(EXTRA_DEJAGNU_SITE_CONFIG) | |||
@echo 'Making a new site.exp file ...' | @echo 'Making a new site.exp file ...' | |||
@echo '## these variables are automatically generated by make ##' >site.t mp | @echo '## these variables are automatically generated by make ##' >site.t mp | |||
@echo '# Do not edit here. If you wish to override these values' >>site. tmp | @echo '# Do not edit here. If you wish to override these values' >>site. tmp | |||
@echo '# edit the last section' >>site.tmp | @echo '# edit the last section' >>site.tmp | |||
@echo 'set srcdir "$(srcdir)"' >>site.tmp | @echo 'set srcdir "$(srcdir)"' >>site.tmp | |||
@echo "set objdir `pwd`" >>site.tmp | @echo "set objdir \"`pwd`\"" >>site.tmp | |||
## Quote the *_alias variables because they might be empty. | ## Quote the *_alias variables because they might be empty. | |||
?BUILD? @echo 'set build_alias "$(build_alias)"' >>site.tmp | ?BUILD? @echo 'set build_alias "$(build_alias)"' >>site.tmp | |||
?BUILD? @echo 'set build_triplet $(build_triplet)' >>site.tmp | ?BUILD? @echo 'set build_triplet $(build_triplet)' >>site.tmp | |||
?HOST? @echo 'set host_alias "$(host_alias)"' >>site.tmp | ?HOST? @echo 'set host_alias "$(host_alias)"' >>site.tmp | |||
?HOST? @echo 'set host_triplet $(host_triplet)' >>site.tmp | ?HOST? @echo 'set host_triplet $(host_triplet)' >>site.tmp | |||
?TARGET? @echo 'set target_alias "$(target_alias)"' >>site.tmp | ?TARGET? @echo 'set target_alias "$(target_alias)"' >>site.tmp | |||
?TARGET? @echo 'set target_triplet $(target_triplet)' >>site.tmp | ?TARGET? @echo 'set target_triplet $(target_triplet)' >>site.tmp | |||
## Allow the package author to extend site.exp. | ## Allow the package author to extend site.exp. | |||
@list='$(EXTRA_DEJAGNU_SITE_CONFIG)'; for f in $$list; do \ | @list='$(EXTRA_DEJAGNU_SITE_CONFIG)'; for f in $$list; do \ | |||
echo "## Begin content included from file $$f. Do not modify. ##" \ | echo "## Begin content included from file $$f. Do not modify. ##" \ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |