]> git.ipfire.org Git - thirdparty/git.git/commit
Makefile: refactor generators to be PWD-independent
authorPatrick Steinhardt <ps@pks.im>
Fri, 6 Dec 2024 13:24:49 +0000 (14:24 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Dec 2024 22:52:11 +0000 (07:52 +0900)
commit3f145a4fe37099c55c7596e93a4cfd850662f88a
tree06ce07bbb756e6231548f03a985df5c6d9d0e2b8
parent19d8fe7da650970e5c18681f98d258fd924ecf9b
Makefile: refactor generators to be PWD-independent

We have multiple scripts that generate headers from other data. All of
these scripts have the assumption built-in that they are executed in the
current source directory, which makes them a bit unwieldy to use during
out-of-tree builds.

Refactor them to instead take the source directory as well as the output
file as arguments.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
contrib/buildsystems/CMakeLists.txt
generate-cmdlist.sh
generate-configlist.sh
generate-hooklist.sh