]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: Makefile: don't forget to also delete haterm on make clean
authorWilly Tarreau <w@1wt.eu>
Tue, 14 Apr 2026 06:33:15 +0000 (08:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 14 Apr 2026 14:48:16 +0000 (16:48 +0200)
haterm depends on the same source files as haproxy, yet it wasn't deleted
on "make clean", resulting in confusion when rebuilding and believing to
run the freshly built one. Let's just add it to the "clean" target. No
backport is needed since haterm is 3.4-only.

Makefile

index 00b7fe225809895f0f15d7d92f107cee7b246afd..624d58e062f8c3d8ff328cc567a89f1ab64ea9f1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1172,7 +1172,7 @@ uninstall:
        $(Q)rm -f "$(DESTDIR)$(SBINDIR)"/haproxy
 
 clean:
-       $(Q)rm -f *.[oas] src/*.[oas] haproxy test .build_opts .build_opts.new
+       $(Q)rm -f *.[oas] src/*.[oas] haproxy haterm test .build_opts .build_opts.new
        $(Q)for dir in . src dev/* admin/* addons/* include/* doc; do rm -f $$dir/*~ $$dir/*.rej $$dir/core; done
        $(Q)rm -f haproxy-$(VERSION).tar.gz haproxy-$(VERSION)$(SUBVERS)$(EXTRAVERSION).tar.gz
        $(Q)rm -f haproxy-$(VERSION) haproxy-$(VERSION)$(SUBVERS)$(EXTRAVERSION) nohup.out gmon.out