Open antoineco opened 3 years ago
The trick described above is extremely hacky to implement in pure Make configuration: https://stackoverflow.com/questions/589252/how-can-i-automatically-create-and-remove-a-temp-directory-in-a-makefile
We might be better off moving hack/inc.Codegen.mk
to some shell script.
It would be nice to be able to run
make codegen
without having to clone the repository inside the legacyGOPATH
.Knative solved that problem by
${TMP_DIR}
)${TMP_DIR}/src/github.com/triggermesh/triggermesh
)-> ~/git/triggermesh
)