Make: prefix magic go-deps variables with GODEPS

This makes them easier to see and find.

Driving towards `make --warn-undefined-variables`.
This commit is contained in:
Tim Hockin
2021-01-19 15:30:23 -08:00
parent 371d602a05
commit ee170145b2
2 changed files with 17 additions and 17 deletions

View File

@@ -148,7 +148,7 @@ func saveImport(pkgName string) error {
// Emit a variable for each package.
var buf bytes.Buffer
buf.WriteString(pkgName)
buf.WriteString("GODEPS_" + pkgName)
buf.WriteString(" := ")
// Packages depend on their own directories, their own files, and