Merge "Tweak Soong install rules logging"

This commit is contained in:
Treehugger Robot 2022-10-26 22:37:59 +00:00 committed by Gerrit Code Review
commit b5703b83a3

View file

@ -471,7 +471,7 @@ func (s *makeVarsSingleton) writeInstalls(installs, symlinks []katiInstall) []by
fmt.Fprintf(buf, " %s", dep.String())
}
fmt.Fprintln(buf)
fmt.Fprintln(buf, "\t@echo \"Install $@\"")
fmt.Fprintln(buf, "\t@echo \"Install: $@\"")
fmt.Fprintf(buf, "\trm -f $@ && cp -f %s $< $@\n", preserveSymlinksFlag)
if install.executable {
fmt.Fprintf(buf, "\tchmod +x $@\n")
@ -515,7 +515,7 @@ func (s *makeVarsSingleton) writeInstalls(installs, symlinks []katiInstall) []by
fromStr = symlink.absFrom
}
fmt.Fprintln(buf, "\t@echo \"Symlink $@\"")
fmt.Fprintln(buf, "\t@echo \"Symlink: $@\"")
fmt.Fprintf(buf, "\trm -f $@ && ln -sfn %s $@", fromStr)
fmt.Fprintln(buf)
fmt.Fprintln(buf)