]> git.feebdaed.xyz Git - 0xmirror/git.git/commit
wincred: align Makefile with other Makefiles in contrib
authorThomas Uhle <thomas.uhle@mailbox.tu-dresden.de>
Wed, 5 Nov 2025 19:55:19 +0000 (20:55 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Nov 2025 17:56:30 +0000 (09:56 -0800)
commitfade8f074e52f491808da93e4782376969309a17
treeac5288ae96fdf2baf73f48f972c6512bc8074cd4
parent77b7284ccab768981a2cd08b6b2f164d91201e18
wincred: align Makefile with other Makefiles in contrib

* Replace $(LOADLIBES) because it is deprecated since long and it is
  used nowhere else in the git project.
* Use $(gitexecdir) instead of $(libexecdir) because config.mak defines
  $(libexecdir) as $(prefix)/libexec, not as $(prefix)/libexec/git-core.
* Similar to other Makefiles, let install target rule create
  $(gitexecdir) to make sure the directory exists before copying the
  executable and also let it respect $(DESTDIR).
* Shuffle the lines for the default settings to align them with the
  other Makefiles in contrib/credential.
* Define .PHONY for all special targets (all, install, clean).

Signed-off-by: Thomas Uhle <thomas.uhle@mailbox.tu-dresden.de>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/credential/wincred/Makefile